Endersignal debug

This commit is contained in:
cyberpwn 2021-08-16 23:41:07 -04:00
parent aff1a245c2
commit 3348d46b5a

View File

@ -88,7 +88,9 @@ public abstract class EngineAssignedWorldManager extends EngineAssignedComponent
if (pr != null) {
e.getEntity().getWorld().playSound(e.getEntity().getLocation(), Sound.ITEM_TRIDENT_THROW, 1f, 1.6f);
((EnderSignal) e.getEntity()).setTargetLocation(new Location(e.getEntity().getWorld(), pr.getX(), 40, pr.getZ()));
Location ll = new Location(e.getEntity().getWorld(), pr.getX(), 40, pr.getZ());
Iris.debug("ESignal: " + ll.getBlockX() + " " + ll.getBlockZ());
((EnderSignal) e.getEntity()).setTargetLocation(ll);
}
}
}