Fixed MultipartGenerator crashing with interfaces that override methods

Fixed a harvest bug
Some syntax cleanup
Changed references to getWorldTime to getTotalWorldTime
This commit is contained in:
Chicken-Bones committed 2013-12-22 00:51:08 +10:00
1 parent bcfe499556
commit 3b3460279f
8 files changed
+32 -39

No files matched your search

@@ -144,13 +144,13 @@ public class RedstoneTorchPart extends TorchPart implements IFaceRedstonePart, I
private boolean burnedOut(boolean add)
{
long time = world().getWorldTime();
long time = world().getTotalWorldTime();
while(burnout != null && burnout.timeout <= time)
burnout = burnout.next;
if(add)
{
BurnoutEntry e = new BurnoutEntry(world().getWorldTime()+60);
BurnoutEntry e = new BurnoutEntry(world().getTotalWorldTime()+60);
if(burnout == null)
burnout = e;
else