forked from MagicBane/Server
Last vestige of FidalityID garbage and raw cache files removed.
This commit is contained in:
@@ -79,7 +79,7 @@ public enum MaintenanceManager {
|
|||||||
|
|
||||||
Building building = (Building) gameObject;
|
Building building = (Building) gameObject;
|
||||||
|
|
||||||
// No Maintenance on fidelity structures
|
// No maintenance on NPC owned buildings (Cache loaded)
|
||||||
|
|
||||||
if (building.getProtectionState() == Enum.ProtectionState.NPC)
|
if (building.getProtectionState() == Enum.ProtectionState.NPC)
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
@@ -1277,7 +1277,6 @@ public class Mob extends AbstractIntelligenceAgent {
|
|||||||
|
|
||||||
if (chance <= me.getDropChance()) {
|
if (chance <= me.getDropChance()) {
|
||||||
MobLoot ml = new MobLoot(this, me.getItemBase(), false);
|
MobLoot ml = new MobLoot(this, me.getItemBase(), false);
|
||||||
ml.setFidelityEquipID(me.getObjectUUID());
|
|
||||||
this.charItemManager.addItemToInventory(ml);
|
this.charItemManager.addItemToInventory(ml);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,9 +34,6 @@ public final class MobLoot extends Item {
|
|||||||
private String prefix = "";
|
private String prefix = "";
|
||||||
private String suffix = "";
|
private String suffix = "";
|
||||||
|
|
||||||
private int fidelityEquipID = 0;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new MobLoot.
|
* Create a new MobLoot.
|
||||||
* Do not use this to create Gold.
|
* Do not use this to create Gold.
|
||||||
@@ -395,14 +392,4 @@ public final class MobLoot extends Item {
|
|||||||
this.suffix = suffix;
|
this.suffix = suffix;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getFidelityEquipID() {
|
|
||||||
return fidelityEquipID;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setFidelityEquipID(int fidelityEquipID) {
|
|
||||||
this.fidelityEquipID = fidelityEquipID;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user