Stable chunks.
This commit is contained in:
parent
f03b2555f8
commit
97f91aa688
Binary file not shown.
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user