mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-27 23:45:57 +00:00
Remove world, pos override of dispatchTE, which requeries the TE and thus is laggier
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user