|
|
|
@ -63,6 +63,9 @@ public class Corpse extends AbstractWorldObject {
@@ -63,6 +63,9 @@ public class Corpse extends AbstractWorldObject {
|
|
|
|
|
this.inBuilding = belongsTo.getInBuilding(); |
|
|
|
|
this.inFloorID = belongsTo.getInFloorID(); |
|
|
|
|
this.inBuildingID = belongsTo.getInBuildingID(); |
|
|
|
|
if(belongsTo.isMoving()) |
|
|
|
|
this.setLoc(belongsTo.getMovementLoc()); |
|
|
|
|
else |
|
|
|
|
this.setLoc(belongsTo.getLoc()); |
|
|
|
|
} else { |
|
|
|
|
Logger.error("No player passed in for corpse"); |
|
|
|
|