Attempted to fix wires not updating to transformer rotation
This commit is contained in:
parent
4d4c437ac2
commit
4d2e0aaab2
1 changed files with 6 additions and 1 deletions
|
@ -5,6 +5,7 @@ import java.util.ArrayList;
|
|||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
|
@ -291,7 +292,11 @@ public class PartTransformer extends JCuboidPart implements JNormalOcclusion, TF
|
|||
else
|
||||
this.face = 0;
|
||||
this.sendDescUpdate();
|
||||
player.sendChatToPlayer(ChatMessageComponent.createFromText("Face:" + this.face));
|
||||
|
||||
for (ForgeDirection dir : ForgeDirection.VALID_DIRECTIONS)
|
||||
{
|
||||
tile().notifyNeighborChange(dir.ordinal());
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue