Small refactor to ClientProxy

This commit is contained in:
James Seibel
2021-02-27 21:03:00 -06:00
parent 4c71c9aad5
commit 22840bd4e3
@@ -114,18 +114,16 @@ public class ClientProxy
//===============//
// update events //
//===============//
//=====================//
// lod creation events //
//=====================//
@SubscribeEvent
public void chunkLoadEvent(ChunkEvent event)
public void chunkLoadEvent(ChunkEvent.Load event)
{
if (event.getChunk().getClass() == Chunk.class)
lodWorld = lodBuilder.generateLodChunkAsync((Chunk) event.getChunk());
}
}