mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
Updated gamemode constant names
This commit is contained in:
parent
6c4670421c
commit
45192c4448
4 changed files with 17 additions and 17 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue