mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 09:39:40 -05:00
Removed chunk debug logs
Former-commit-id: 696d7a11e1114ea94265a07e3d69f56567bf89a4 [formerly 633fd5709a9cf61281860b6b2bc8ec1693ca1e22] Former-commit-id: b3e7edb233929aafe51c73ec7c7780788b153bf3
This commit is contained in:
1 parent
0d4e71e6e2
commit
3141502b74
1 file changed
-3
@@ -15,7 +15,6 @@ import org.maxgamer.quickshop.QuickShop;
|
||||
import org.maxgamer.quickshop.Shop.QueueAction;
|
||||
import org.maxgamer.quickshop.Shop.QueueShopObject;
|
||||
import org.maxgamer.quickshop.Shop.Shop;
|
||||
import org.maxgamer.quickshop.Util.Util;
|
||||
|
||||
@AllArgsConstructor
|
||||
public class ChunkListener implements Listener {
|
||||
@@ -25,7 +24,6 @@ public class ChunkListener implements Listener {
|
||||
public void onChunkLoad(ChunkLoadEvent e) {
|
||||
if (e.isNewChunk()) //Ignore it
|
||||
return;
|
||||
Util.debugLog("Chunk " + e.getChunk().getX() + "#" + e.getChunk().getZ() + " was loaded, searching the shops...");
|
||||
Chunk c = e.getChunk();
|
||||
HashMap<Location, Shop> inChunk = plugin.getShopManager().getShops(c);
|
||||
if (inChunk == null || inChunk.isEmpty())
|
||||
@@ -45,7 +43,6 @@ public class ChunkListener implements Listener {
|
||||
|
||||
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
|
||||
public void onChunkUnload(ChunkUnloadEvent e) {
|
||||
Util.debugLog("Chunk " + e.getChunk().getX() + "#" + e.getChunk().getZ() + " was unloaded, searching the shops...");
|
||||
Chunk c = e.getChunk();
|
||||
HashMap<Location, Shop> inChunk = plugin.getShopManager().getShops(c);
|
||||
if (inChunk == null || inChunk.isEmpty())
|
||||
|
||||
Reference in new issue
Block a user