|
|
@ -63,10 +63,8 @@ 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(); |
|
|
|
if(belongsTo.isMoving()) |
|
|
|
belongsTo.stopMovement(belongsTo.getMovementLoc()); |
|
|
|
this.setLoc(belongsTo.getMovementLoc()); |
|
|
|
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 = ""; |
|
|
|