Re-introducing remnant code for reseting monster location.

This commit is contained in:
MobiusDevelopment 2019-09-30 20:18:49 +00:00
parent b16f2bba99
commit 598c5408f5
15 changed files with 15 additions and 0 deletions

View File

@ -45,6 +45,7 @@ public class DecayTaskManager
final Creature creature = entry.getKey(); final Creature creature = entry.getKey();
DECAY_SCHEDULES.remove(creature); DECAY_SCHEDULES.remove(creature);
creature.onDecay(); creature.onDecay();
creature.setXYZ(0, 0, -10000);
} }
} }
}, 0, 1000); }, 0, 1000);

View File

@ -45,6 +45,7 @@ public class DecayTaskManager
final Creature creature = entry.getKey(); final Creature creature = entry.getKey();
DECAY_SCHEDULES.remove(creature); DECAY_SCHEDULES.remove(creature);
creature.onDecay(); creature.onDecay();
creature.setXYZ(0, 0, -10000);
} }
} }
}, 0, 1000); }, 0, 1000);

View File

@ -45,6 +45,7 @@ public class DecayTaskManager
final Creature creature = entry.getKey(); final Creature creature = entry.getKey();
DECAY_SCHEDULES.remove(creature); DECAY_SCHEDULES.remove(creature);
creature.onDecay(); creature.onDecay();
creature.setXYZ(0, 0, -10000);
} }
} }
}, 0, 1000); }, 0, 1000);

View File

@ -45,6 +45,7 @@ public class DecayTaskManager
final Creature creature = entry.getKey(); final Creature creature = entry.getKey();
DECAY_SCHEDULES.remove(creature); DECAY_SCHEDULES.remove(creature);
creature.onDecay(); creature.onDecay();
creature.setXYZ(0, 0, -10000);
} }
} }
}, 0, 1000); }, 0, 1000);

View File

@ -45,6 +45,7 @@ public class DecayTaskManager
final Creature creature = entry.getKey(); final Creature creature = entry.getKey();
DECAY_SCHEDULES.remove(creature); DECAY_SCHEDULES.remove(creature);
creature.onDecay(); creature.onDecay();
creature.setXYZ(0, 0, -10000);
} }
} }
}, 0, 1000); }, 0, 1000);

View File

@ -45,6 +45,7 @@ public class DecayTaskManager
final Creature creature = entry.getKey(); final Creature creature = entry.getKey();
DECAY_SCHEDULES.remove(creature); DECAY_SCHEDULES.remove(creature);
creature.onDecay(); creature.onDecay();
creature.setXYZ(0, 0, -10000);
} }
} }
}, 0, 1000); }, 0, 1000);

View File

@ -45,6 +45,7 @@ public class DecayTaskManager
final Creature creature = entry.getKey(); final Creature creature = entry.getKey();
DECAY_SCHEDULES.remove(creature); DECAY_SCHEDULES.remove(creature);
creature.onDecay(); creature.onDecay();
creature.setXYZ(0, 0, -10000);
} }
} }
}, 0, 1000); }, 0, 1000);

View File

@ -45,6 +45,7 @@ public class DecayTaskManager
final Creature creature = entry.getKey(); final Creature creature = entry.getKey();
DECAY_SCHEDULES.remove(creature); DECAY_SCHEDULES.remove(creature);
creature.onDecay(); creature.onDecay();
creature.setXYZ(0, 0, -10000);
} }
} }
}, 0, 1000); }, 0, 1000);

View File

@ -45,6 +45,7 @@ public class DecayTaskManager
final Creature creature = entry.getKey(); final Creature creature = entry.getKey();
DECAY_SCHEDULES.remove(creature); DECAY_SCHEDULES.remove(creature);
creature.onDecay(); creature.onDecay();
creature.setXYZ(0, 0, -10000);
} }
} }
}, 0, 1000); }, 0, 1000);

View File

@ -45,6 +45,7 @@ public class DecayTaskManager
final Creature creature = entry.getKey(); final Creature creature = entry.getKey();
DECAY_SCHEDULES.remove(creature); DECAY_SCHEDULES.remove(creature);
creature.onDecay(); creature.onDecay();
creature.setXYZ(0, 0, -10000);
} }
} }
}, 0, 1000); }, 0, 1000);

View File

@ -45,6 +45,7 @@ public class DecayTaskManager
final Creature creature = entry.getKey(); final Creature creature = entry.getKey();
DECAY_SCHEDULES.remove(creature); DECAY_SCHEDULES.remove(creature);
creature.onDecay(); creature.onDecay();
creature.setXYZ(0, 0, -10000);
} }
} }
}, 0, 1000); }, 0, 1000);

View File

@ -45,6 +45,7 @@ public class DecayTaskManager
final Creature creature = entry.getKey(); final Creature creature = entry.getKey();
DECAY_SCHEDULES.remove(creature); DECAY_SCHEDULES.remove(creature);
creature.onDecay(); creature.onDecay();
creature.setXYZ(0, 0, -10000);
} }
} }
}, 0, 1000); }, 0, 1000);

View File

@ -45,6 +45,7 @@ public class DecayTaskManager
final Creature creature = entry.getKey(); final Creature creature = entry.getKey();
DECAY_SCHEDULES.remove(creature); DECAY_SCHEDULES.remove(creature);
creature.onDecay(); creature.onDecay();
creature.setXYZ(0, 0, -10000);
} }
} }
}, 0, 1000); }, 0, 1000);

View File

@ -45,6 +45,7 @@ public class DecayTaskManager
final Creature creature = entry.getKey(); final Creature creature = entry.getKey();
DECAY_SCHEDULES.remove(creature); DECAY_SCHEDULES.remove(creature);
creature.onDecay(); creature.onDecay();
creature.setXYZ(0, 0, -10000);
} }
} }
}, 0, 1000); }, 0, 1000);

View File

@ -45,6 +45,7 @@ public class DecayTaskManager
final Creature creature = entry.getKey(); final Creature creature = entry.getKey();
DECAY_SCHEDULES.remove(creature); DECAY_SCHEDULES.remove(creature);
creature.onDecay(); creature.onDecay();
creature.setXYZ(0, 0, -10000);
} }
} }
}, 0, 1000); }, 0, 1000);