mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 05:02:30 +00:00
Fixed mana spreaders shooting two burts (one of those being visual only).
This commit is contained in:
1 parent
1270165307
commit
100259f07a
1 file changed
+5
-2
@@ -209,8 +209,11 @@ public class TileSpreader extends TileSimpleInventory implements IManaCollector
|
||||
if(canShootBurst && receiver.canRecieveManaFromBursts() && !receiver.isFull()) {
|
||||
EntityManaBurst burst = getBurst(false);
|
||||
if(burst != null) {
|
||||
mana -= burst.getStartingMana();
|
||||
worldObj.spawnEntityInWorld(burst);
|
||||
if(!worldObj.isRemote) {
|
||||
mana -= burst.getStartingMana();
|
||||
worldObj.spawnEntityInWorld(burst);
|
||||
}
|
||||
|
||||
canShootBurst = false;
|
||||
PacketDispatcher.sendPacketToAllInDimension(getDescriptionPacket(), worldObj.provider.dimensionId);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user