mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fixed setting more gamemodes
This commit is contained in:
parent
3577667039
commit
bcb76b51f4
2 changed files with 3 additions and 2 deletions
|
|
@ -785,7 +785,7 @@ class Player{
|
|||
"y" => $this->data->get("position")["y"],
|
||||
"z" => $this->data->get("position")["z"],
|
||||
"unknown1" => 0,
|
||||
"gamemode" => $this->gamemode,
|
||||
"gamemode" => ($this->gamemode & 0x01),
|
||||
"eid" => 0,
|
||||
));
|
||||
if(($this->gamemode & 0x01) === 0x01){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue