Updated gamemode constant names

This commit is contained in:
Shoghi Cervantes Pueyo 2013-02-12 16:42:58 +01:00
parent 6c4670421c
commit 45192c4448
4 changed files with 17 additions and 17 deletions

View file

@ -32,7 +32,7 @@ class BedrockBlock extends SolidBlock{
}
public function isBreakable(Item $item, Player $player){
if($player->gamemode === 1){
if($player->gamemode === CREATIVE){
return true;
}
return false;