Skip to content
Snippets Groups Projects
Commit 50f994ca authored by Zoey76's avatar Zoey76
Browse files

BETA: Minor datapack part for [L5258].

parent dccf7388
No related branches found
No related tags found
No related merge requests found
...@@ -287,7 +287,7 @@ public class Listeners extends L2Script ...@@ -287,7 +287,7 @@ public class Listeners extends L2Script
@Override @Override
public boolean onItemDrop(ItemDropEvent event) public boolean onItemDrop(ItemDropEvent event)
{ {
_log.log(Level.INFO, "Item (" + event.getItem().getName() + " has been dropped by (" + event.getDropper().getName() + " ) at X: " + event.getX() + " Y: " + event.getY() + " Z: " + event.getZ() + "!"); _log.log(Level.INFO, "Item (" + event.getItem().getName() + " has been dropped by (" + event.getDropper().getName() + " ) at: " + event.getLocation() + "!");
return true; return true;
} }
...@@ -299,7 +299,7 @@ public class Listeners extends L2Script ...@@ -299,7 +299,7 @@ public class Listeners extends L2Script
@Override @Override
public boolean onItemPickup(ItemPickupEvent event) public boolean onItemPickup(ItemPickupEvent event)
{ {
_log.log(Level.INFO, "Item (" + event.getItem().getName() + " has been pickup by (" + event.getPicker().getName() + " ) from X: " + event.getX() + " Y: " + event.getY() + " Z: " + event.getZ() + "!"); _log.log(Level.INFO, "Item (" + event.getItem().getName() + " has been pickup by (" + event.getPicker().getName() + " ) from: " + event.getLocation() + "!");
return true; return true;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment