mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 12:19:55 +00:00
RF Tools not charging in Killer Joe until he has attacked something
This commit is contained in:
1 parent
a11279c51c
commit
bbf050f3bf
2 files changed
+4
-3
No files matched your search
@@ -33,6 +33,7 @@ Bugs
|
||||
- #1357 Power Conduits replaced by growing tree's
|
||||
- #1361 Enlightened Fused Quartz is not blast resistant
|
||||
- #1366 Powered Spawner doesn't remain active when chunk loaded
|
||||
- RF Tools not charging in Killer Joe until he has attacked something
|
||||
|
||||
|
||||
------------------------------------------------------
|
||||
|
||||
@@ -22,9 +22,6 @@ import net.minecraftforge.fluids.IFluidHandler;
|
||||
|
||||
import com.mojang.authlib.GameProfile;
|
||||
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
import cpw.mods.fml.common.gameevent.TickEvent.Phase;
|
||||
import cpw.mods.fml.common.gameevent.TickEvent.PlayerTickEvent;
|
||||
import crazypants.enderio.EnderIO;
|
||||
import crazypants.enderio.ModObject;
|
||||
import crazypants.enderio.config.Config;
|
||||
@@ -462,6 +459,9 @@ public class TileKillerJoe extends AbstractMachineEntity implements IFluidHandle
|
||||
|
||||
@Override
|
||||
public void onUpdate() {
|
||||
|
||||
setCurrentItemOrArmor(0, getStackInSlot(0));
|
||||
|
||||
ItemStack prev = prevWeapon;
|
||||
ItemStack cur = getCurrentEquippedItem();
|
||||
if(!ItemStack.areItemStacksEqual(cur, prev)) {
|
||||
|
||||
Reference in new issue
Block a user