added ability to drop single items(atipls when repocket)

This commit is contained in:
GameHerobrine 2025-05-31 02:56:23 +03:00
parent 294745fb09
commit e5562d81f4
2 changed files with 19 additions and 6 deletions

View file

@ -96,13 +96,13 @@ class PocketMinecraftServer{
"keep-items-on-death" => Entity::$keepInventory,
"disable-emojis-in-chat" => Player::$disableEmojisInChat,
"disable-emojis-on-signs" => Level::$disableEmojisOnSigns,
//"allow-dropping-single-items" => Player::$allowDroppingSingleItems
"allow-dropping-single-items" => Player::$allowDroppingSingleItems
]);
Player::$disableEmojisInChat = $this->extraprops->get("disable-emojis-in-chat");
Level::$disableEmojisOnSigns = $this->extraprops->get("disable-emojis-on-signs");
Entity::$keepInventory = $this->extraprops->get("keep-items-on-death");
Player::$experimentalHotbar = $this->extraprops->get("use-experimental-hotbar");
//Player::$allowDroppingSingleItems = $this->extraprops->get("allow-dropping-single-items");
Player::$allowDroppingSingleItems = $this->extraprops->get("allow-dropping-single-items");
Living::$despawnMobs = $this->extraprops->get("despawn-mobs");
Living::$despawnTimer = $this->extraprops->get("mob-despawn-ticks");
Living::$entityPushing = $this->extraprops->get("enable-mob-pushing");