Remove world, pos override of dispatchTE, which requeries the TE and thus is laggier

This commit is contained in:
Vincent Lee committed 2020-06-12 09:07:31 -05:00
1 parent 4d7defad63
commit f2f6cdba41
15 files changed
+21 -30

No files matched your search

@@ -625,7 +625,7 @@ public class EntityManaBurst extends ThrowableEntity implements IManaBurst {
if (tile instanceof IThrottledPacket) {
((IThrottledPacket) tile).markDispatchable();
} else {
VanillaPacketDispatcher.dispatchTEToNearbyPlayers(world, pos);
VanillaPacketDispatcher.dispatchTEToNearbyPlayers((TileEntity) tile);
}
}