mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 11:58:00 +00:00
Fixed first hotbar item in Creative
This commit is contained in:
@@ -1280,7 +1280,7 @@ class Player{
|
|||||||
"eid" => 0,
|
"eid" => 0,
|
||||||
));
|
));
|
||||||
if(($this->gamemode & 0x01) === 0x01){
|
if(($this->gamemode & 0x01) === 0x01){
|
||||||
$this->slot = -1;//7
|
$this->slot = 0;
|
||||||
}else{
|
}else{
|
||||||
$this->slot = -1;//0
|
$this->slot = -1;//0
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user