Updated the toggleable sigils so they drain the user's LP based on the user's total ticks existed instead of the world time. This is to solve the doDaylightCycle glitch in this scenario.
Also further tweaked the Routing Node GUI
This commit is contained in:
parent
78c7a63190
commit
4a21e6cbf0
|
@ -8,6 +8,7 @@ Version 2.0.4-57
|
|||
- Implemented a bit of framework for some T5 shenanigans.
|
||||
- Fixed the Incense Altar so it properly detected the south sides of the altar.
|
||||
- Updated the Filtered Item Routing Nodes' GUI so that it behaved less like ass. Also added the necessary nbt porting code.
|
||||
- Updated the toggleable sigils so they drain the user's LP based on the user's total ticks existed instead of the world time. This is to solve the doDaylightCycle glitch in this scenario.
|
||||
|
||||
------------------------------------------------------
|
||||
Version 2.0.4-56
|
||||
|
|
|
@ -73,7 +73,7 @@ public class ItemSigilToggleable extends ItemSigil implements IActivatable
|
|||
{
|
||||
if (!worldIn.isRemote && entityIn instanceof EntityPlayerMP && getActivated(stack))
|
||||
{
|
||||
if (worldIn.getWorldTime() % 100 == 0)
|
||||
if (entityIn.ticksExisted % 100 == 0)
|
||||
{
|
||||
if (!NetworkHelper.getSoulNetwork((EntityPlayerMP) entityIn).syphonAndDamage((EntityPlayer) entityIn, getLpUsed()))
|
||||
{
|
||||
|
|
|
@ -78,8 +78,8 @@ public class GuiItemRoutingNode extends GuiContainer
|
|||
this.buttonList.add(this.southButton = new GuiButton(3, left + 176, top + 68, 18, 18, "S"));
|
||||
this.buttonList.add(this.westButton = new GuiButton(4, left + 176, top + 86, 18, 18, "W"));
|
||||
this.buttonList.add(this.eastButton = new GuiButton(5, left + 176, top + 104, 18, 18, "E"));
|
||||
this.buttonList.add(this.incrementButton = new GuiButton(6, left + 97, top + 14, 18, 17, "^"));
|
||||
this.buttonList.add(this.decrementButton = new GuiButton(7, left + 97, top + 50, 18, 17, "v"));
|
||||
this.buttonList.add(this.incrementButton = new GuiButton(6, left + 160, top + 50, 9, 18, ">"));
|
||||
this.buttonList.add(this.decrementButton = new GuiButton(7, left + 133, top + 50, 9, 18, "<"));
|
||||
disableDirectionalButton(inventory.currentActiveSlot);
|
||||
|
||||
this.textBox = new GuiTextField(0, this.fontRendererObj, left + 90, top + 73, 64, 12);
|
||||
|
@ -172,7 +172,7 @@ public class GuiItemRoutingNode extends GuiContainer
|
|||
@Override
|
||||
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
|
||||
{
|
||||
this.fontRendererObj.drawString("" + getCurrentActiveSlotPriority(), 98 + 5, 33 + 4, 0xFFFFFF);
|
||||
this.fontRendererObj.drawString("" + getCurrentActiveSlotPriority(), 143 + 5, 51 + 4, 0xFFFFFF);
|
||||
String s = "";
|
||||
if (container.lastGhostSlotClicked != -1)
|
||||
{
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.6 KiB |
Loading…
Reference in a new issue