Update CoreProtect and masterbuilder restrictions (#100)

* Update CoreProtect and masterbuilder restrictions

* intellij is gay shit
This commit is contained in:
Telesphoreo
2018-07-26 14:08:48 -07:00
committed by Lemon
parent 655766a0c4
commit 519b456807
10 changed files with 25 additions and 28 deletions

View File

@ -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
{