mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Implemented health, events, damage, motion push
This commit is contained in:
@ -112,7 +112,7 @@ abstract class Door extends Transparent{
|
||||
$pk->z = $this->z;
|
||||
$pk->evid = 1003;
|
||||
$pk->data = 0;
|
||||
Server::getInstance()->broadcastPacket($players, $pk);
|
||||
Server::broadcastPacket($players, $pk);
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -131,7 +131,7 @@ abstract class Door extends Transparent{
|
||||
$pk->z = $this->z;
|
||||
$pk->evid = 1003;
|
||||
$pk->data = 0;
|
||||
Server::getInstance()->broadcastPacket($players, $pk);
|
||||
Server::broadcastPacket($players, $pk);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user