diff --git a/blueprint.sh b/blueprint.sh index c262abb..93edfca 100644 --- a/blueprint.sh +++ b/blueprint.sh @@ -46,8 +46,10 @@ elif [[ $PM_VERSION != "([(pterodactylmarket""_version)])" ]]; then VERSION=$PM_VERSION; fi; -# Fix for Blueprint's bash database to work with docker and custom folder installations. +# Fix for Blueprint's bash database/telemetry/admincachereminder to work with docker and custom folder installations. sed -i "s!&bp.folder&!$FOLDER!g" $FOLDER/.blueprint/lib/db.sh; +sed -i "s!&bp.folder&!$FOLDER!g" $FOLDER/.blueprint/lib/telemetry.sh; +sed -i "s!&bp.folder&!$FOLDER!g" $FOLDER/.blueprint/lib/updateAdminCacheReminder.sh; cd $FOLDER; # Automatically navigate to the Pterodactyl directory when running the script. # Import libraries. diff --git a/blueprint/lib/updateAdminCacheReminder.sh b/blueprint/lib/updateAdminCacheReminder.sh index 24cb5f7..8a447fd 100644 --- a/blueprint/lib/updateAdminCacheReminder.sh +++ b/blueprint/lib/updateAdminCacheReminder.sh @@ -1,6 +1,7 @@ #!/bin/bash updateCacheReminder() { + cd &bp.folder& # Overwrite previous adminCacheReminderHider with the default one. oldClassName=$(cat .blueprint/data/internal/db/randomclassname); newClassName=$RANDOM;