mine fix dor delayed closing time
This commit is contained in:
@@ -63,7 +63,10 @@ public class Corpse extends AbstractWorldObject {
|
|||||||
this.inBuilding = belongsTo.getInBuilding();
|
this.inBuilding = belongsTo.getInBuilding();
|
||||||
this.inFloorID = belongsTo.getInFloorID();
|
this.inFloorID = belongsTo.getInFloorID();
|
||||||
this.inBuildingID = belongsTo.getInBuildingID();
|
this.inBuildingID = belongsTo.getInBuildingID();
|
||||||
this.setLoc(belongsTo.getLoc());
|
if(belongsTo.isMoving())
|
||||||
|
this.setLoc(belongsTo.getMovementLoc());
|
||||||
|
else
|
||||||
|
this.setLoc(belongsTo.getLoc());
|
||||||
} else {
|
} else {
|
||||||
Logger.error("No player passed in for corpse");
|
Logger.error("No player passed in for corpse");
|
||||||
this.firstName = "";
|
this.firstName = "";
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ public class MineThread implements Runnable {
|
|||||||
mineWindowClose(mine); //mine was knocked down and was claimed, close window
|
mineWindowClose(mine); //mine was knocked down and was claimed, close window
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
nextPulse = LocalDateTime.now().plusMinutes(30);
|
nextPulse = nextPulse.plusMinutes(30);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user