mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
New VIEW gamemode
This commit is contained in:
parent
5848d283da
commit
3577667039
10 changed files with 58 additions and 32 deletions
|
|
@ -32,7 +32,7 @@ class BedrockBlock extends SolidBlock{
|
|||
}
|
||||
|
||||
public function isBreakable(Item $item, Player $player){
|
||||
if($player->gamemode === CREATIVE){
|
||||
if(($player->gamemode & 0x01) === 0x01){
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue