Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

Commit

Permalink
Fix to Thermo
Browse files Browse the repository at this point in the history
  • Loading branch information
sameer committed Feb 5, 2016
1 parent 997a89b commit 6acbd26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patches/net/minecraft/world/World.java.patch
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@
- this.loadedEntityList.remove(i--);
+ if (this.tickPosition < this.loadedEntityList.size()) // KCauldron
+ this.loadedEntityList.remove(this.tickPosition--); // CraftBukkit - Use field for loop variable
+ else kcauldron.KLog.get().warning("Entity removal desync! " + entity); // KCauldron
+ else thermos.TLog.get().warning("Entity removal desync! " + entity); // KCauldron
this.onEntityRemoved(entity);
}

Expand Down

0 comments on commit 6acbd26

Please sign in to comment.