Skip to content

Commit 79acd4d

Browse files
authored
trace is default somewhere maybe (#10)
1 parent 275e461 commit 79acd4d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/gcewing/sg/SGCraft.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -244,14 +244,14 @@ protected void registerEntities() {
244244
@SubscribeEvent
245245
public void onChunkLoad(ChunkDataEvent.Load e) {
246246
Chunk chunk = e.getChunk();
247-
SGCraft.log.trace("SGCraft.onChunkLoad: " + chunk.xPosition + "," + chunk.zPosition);
247+
//SGCraft.log.trace("SGCraft.onChunkLoad: " + chunk.xPosition + "," + chunk.zPosition);
248248
SGChunkData.onChunkLoad(e);
249249
}
250250

251251
@SubscribeEvent
252252
public void onChunkSave(ChunkDataEvent.Save e) {
253253
Chunk chunk = e.getChunk();
254-
SGCraft.log.trace("SGCraft.onChunkSave: " + chunk.xPosition + "," + chunk.zPosition);
254+
//SGCraft.log.trace("SGCraft.onChunkSave: " + chunk.xPosition + "," + chunk.zPosition);
255255
SGChunkData.onChunkSave(e);
256256
}
257257

@@ -273,11 +273,11 @@ public void onServerTick(TickEvent.ServerTickEvent e) {
273273
public void onChunkUnload(ChunkEvent.Unload e) {
274274
Chunk chunk = e.getChunk();
275275
if (!getChunkWorld(chunk).isRemote) {
276-
SGCraft.log.trace("SGCraft.onChunkUnload: " + chunk.xPosition + "," + chunk.zPosition);
276+
//SGCraft.log.trace("SGCraft.onChunkUnload: " + chunk.xPosition + "," + chunk.zPosition);
277277
for (Object obj : getChunkTileEntityMap(chunk).values()) {
278278
if (obj instanceof SGBaseTE) {
279279
SGBaseTE te = (SGBaseTE)obj;
280-
SGCraft.log.trace("SGCraft.onChunkUnload: Disconnecting stargate at " + te.xCoord + "," + te.yCoord + "," + te.zCoord);
280+
//SGCraft.log.trace("SGCraft.onChunkUnload: Disconnecting stargate at " + te.xCoord + "," + te.yCoord + "," + te.zCoord);
281281
te.disconnect();
282282
}
283283
}

0 commit comments

Comments
 (0)