mirror of
https://github.com/2006-Scape/Parabot-317-API-Minified.git
synced 2026-07-03 00:38:00 +00:00
Use new methods in other GameObject related debug classes
This commit is contained in:
@@ -34,7 +34,7 @@ public class DSceneObjectsWallDec extends AbstractDebugger {
|
||||
if (enabled) {
|
||||
SceneObject[] objects = getWallDecorations();
|
||||
if (objects == null || objects.length == 0) {
|
||||
Logger.addMessage("There are no GameObjects around you.");
|
||||
Logger.addMessage("There are no Wall Decorations around you.");
|
||||
return;
|
||||
}
|
||||
java.util.List<SceneObject> objs = Arrays.asList(objects);
|
||||
@@ -44,7 +44,7 @@ public class DSceneObjectsWallDec 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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user