mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-06 22:13:05 +00:00
Update CoreProtect and masterbuilder restrictions (#100)
* Update CoreProtect and masterbuilder restrictions * intellij is gay shit
This commit is contained in:
@ -56,7 +56,7 @@ public class Command_gtfo extends FreedomCommand
|
||||
// Deop
|
||||
player.setOp(false);
|
||||
|
||||
// Gamemode suvival
|
||||
// Gamemode survival
|
||||
player.setGameMode(GameMode.SURVIVAL);
|
||||
|
||||
// Clear inventory
|
||||
@ -95,7 +95,7 @@ public class Command_gtfo extends FreedomCommand
|
||||
}
|
||||
}
|
||||
|
||||
//checks if there is CoreProtect loaded and installed, if not it skips the rollback and uses CoreProtect directly
|
||||
// Checks if CoreProtect is loaded and installed, and skips the rollback and uses CoreProtect directly
|
||||
if (!cancelRollback)
|
||||
{
|
||||
if (!plugin.cpb.isEnabled())
|
||||
@ -111,7 +111,6 @@ public class Command_gtfo extends FreedomCommand
|
||||
|
||||
// Rollback
|
||||
plugin.rb.rollback(username);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user