Skip to content

Commit

Permalink
fix: ChunkDataEvent breaking changes in meteor-client (#330)
Browse files Browse the repository at this point in the history
Co-authored-by: Antonio Cheong <teapotv8@proton.me>
  • Loading branch information
gptlang and acheong08 authored Mar 8, 2024
1 parent 52bf7cc commit cb27c81
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/anticope/rejects/modules/OreSim.java
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,7 @@ private void reload() {

@EventHandler
public void onChunkData(ChunkDataEvent event) {
doMathOnChunk(event.chunk);
ChunkDataEvent.returnChunkDataEvent(event);
doMathOnChunk(event.chunk());
}

private void doMathOnChunk(Chunk chunk) {
Expand Down

0 comments on commit cb27c81

Please sign in to comment.