mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
changed door collisions to 1.5.2
This commit is contained in:
parent
f3d726cddf
commit
b115c19093
2 changed files with 42 additions and 9 deletions
|
|
@ -31,7 +31,7 @@ class FenceGateBlock extends TransparentBlock{
|
|||
);
|
||||
}
|
||||
public function onActivate(Item $item, Player $player){
|
||||
$this->meta ^= 0x04;
|
||||
$this->meta ^= 0x04;
|
||||
$this->level->setBlock($this, $this, true, false, true);
|
||||
$players = ServerAPI::request()->api->player->getAll($this->level);
|
||||
unset($players[$player->CID]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue