added keepinventory into extra.properties

This commit is contained in:
GameHerobrine 2024-11-28 22:23:54 +03:00
parent 57f8067434
commit a39791f092
5 changed files with 9 additions and 5 deletions

View file

@ -92,8 +92,10 @@ class PocketMinecraftServer{
"force-20-tps" => false,
"enable-mob-pushing" => Living::$entityPushing,
"keep-chunks-loaded" => self::$KEEP_CHUNKS_LOADED,
"use-experimental-hotbar" => Player::$experimentalHotbar
"use-experimental-hotbar" => Player::$experimentalHotbar,
"keep-items-on-death" => Entity::$keepInventory
]);
Entity::$keepInventory = $this->extraprops->get("keep-items-on-death");
Player::$experimentalHotbar = $this->extraprops->get("use-experimental-hotbar");
Player::$smallChunks = $this->extraprops->get("16x16x16_chunk_sending");
Living::$despawnMobs = $this->extraprops->get("despawn-mobs");