Stable chunks.

This commit is contained in:
sigonasr2 2016-07-27 17:37:13 -05:00
parent f03b2555f8
commit 97f91aa688
2 changed files with 3 additions and 5 deletions

Binary file not shown.

View File

@ -132,6 +132,7 @@ import org.bukkit.event.vehicle.VehicleDestroyEvent;
import org.bukkit.event.vehicle.VehicleExitEvent;
import org.bukkit.event.weather.LightningStrikeEvent;
import org.bukkit.event.world.ChunkLoadEvent;
import org.bukkit.event.world.ChunkPopulateEvent;
import org.bukkit.event.world.WorldSaveEvent;
import org.bukkit.inventory.EquipmentSlot;
import org.bukkit.inventory.Inventory;
@ -261,6 +262,8 @@ public class TwosideKeeper extends JavaPlugin implements Listener {
public static HashMap banksessions;
public int sleepingPlayers=0;
boolean reloadedchunk=false;
int[] lampblocks = {1626,71,-255, //List of all lamp blocks in the city to be lit.
1628,70,-223,
1626,70,-265,
@ -2820,11 +2823,6 @@ public class TwosideKeeper extends JavaPlugin implements Listener {
}
}
}
@EventHandler(priority=EventPriority.LOW,ignoreCancelled = true)
public void onChunkLoad(ChunkLoadEvent ev) {
log("Loading up Chunk "+ev.getChunk().toString()+"... Is a new chunk? "+ev.isNewChunk(),2);
}
@EventHandler(priority=EventPriority.LOW,ignoreCancelled = true)
public void onInventoryDrag(InventoryDragEvent ev) {