mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Players can put out fires
This commit is contained in:
parent
1cc19ae1e8
commit
cbe0692696
3 changed files with 6 additions and 2 deletions
|
|
@ -1084,9 +1084,9 @@ class Player{
|
|||
"eid" => 0,
|
||||
));
|
||||
if(($this->gamemode & 0x01) === 0x01){
|
||||
$this->slot = 7;
|
||||
$this->slot = -1;//7
|
||||
}else{
|
||||
$this->slot = 0;
|
||||
$this->slot = -1;//0
|
||||
}
|
||||
$this->entity = $this->server->api->entity->add($this->level, ENTITY_PLAYER, 0, array("player" => $this));
|
||||
$this->eid = $this->entity->eid;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue