mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
names were fixed, ->loop->stop();
This commit is contained in:
parent
50006a0189
commit
f6897cf862
242 changed files with 111 additions and 166 deletions
17
src/material/block/solid/InvisibleBedrockBlock.php
Executable file
17
src/material/block/solid/InvisibleBedrockBlock.php
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
class InvisibleBedrockBlock extends SolidBlock{
|
||||
public function __construct(){
|
||||
parent::__construct(INVISIBLE_BEDROCK, 0, ".name<");
|
||||
$this->breakable = false;
|
||||
$this->hardness = 3600000;
|
||||
}
|
||||
|
||||
public function isBreakable(Item $item, Player $player){
|
||||
if(($player->gamemode & 0x01) === 0x01){
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue