Add portal permission bypass

This commit is contained in:
William Blake Galbreath
2025-01-11 22:19:05 -08:00
committed by granny
parent 407adcda52
commit d760f5436f
5 changed files with 23 additions and 44 deletions

View File

@@ -65,6 +65,8 @@ public final class PurpurPermissions {
DefaultPermissions.registerPermission("allow.powered.creeper", "Allows the user to toggle creeper powered state", PermissionDefault.FALSE, powered);
powered.recalculatePermissibles();
DefaultPermissions.registerPermission(PREFIX + "portal.instant", "Allows the user to bypass portal wait time", PermissionDefault.FALSE, purpur);
purpur.recalculatePermissibles();
return purpur;
}