mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-26 15:03:18 +00:00
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:
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
|
||||
|
||||
Reference in new issue
Block a user