Use new methods in other GameObject related debug classes

This commit is contained in:
Shadowrs
2018-10-05 19:12:28 +01:00
parent 5b7cfce082
commit 9f0950245b
6 changed files with 11 additions and 9 deletions
@@ -34,7 +34,7 @@ public class DSceneObjectsGroundDec extends AbstractDebugger {
if (enabled) {
SceneObject[] objects = getGroundDecorations();
if (objects == null || objects.length == 0) {
Logger.addMessage("There are no GameObjects around you.");
Logger.addMessage("There are no Ground Decorations around you.");
return;
}
java.util.List<SceneObject> objs = Arrays.asList(objects);
@@ -44,7 +44,7 @@ public class DSceneObjectsGroundDec extends AbstractDebugger {
for (int i = objects.length - 1; i >= 0; i--) {
System.out.println(
" ID: " + objects[i].getId() +
" UID: " + objects[i].getHash() +
" UID: " + objects[i].resolveHash() +
" Location: " + objects[i].getLocation() +
" Distance: " + objects[i].distanceTo());
}