mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
fix save-player-data
This commit is contained in:
parent
274fd6456a
commit
747d87a3a7
2 changed files with 7 additions and 3 deletions
|
|
@ -24,6 +24,9 @@ class PocketMinecraftServer{
|
|||
$this->load();
|
||||
}
|
||||
|
||||
public static $SAVE_PLAYER_DATA = true;
|
||||
|
||||
|
||||
private function load(){
|
||||
global $dolog;
|
||||
|
||||
|
|
@ -97,6 +100,7 @@ class PocketMinecraftServer{
|
|||
Living::$despawnTimer = $this->extraprops->get("mob-despawn-ticks");
|
||||
Entity::$allowedAI = $this->extraprops->get("enable-mob-ai");
|
||||
Entity::$updateOnTick = $this->extraprops->get("experemental-mob-features");
|
||||
PocketMinecraftServer::$SAVE_PLAYER_DATA = $this->extraprops->get("save-player-data");
|
||||
if(Entity::$updateOnTick){
|
||||
console("[WARNING] Experemental mob features are enabled. Unpredictable behavior.");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue