committed by
Tomas Slusny
parent
67fd4a812b
commit
dd9f39300d
@@ -128,7 +128,7 @@ public class HunterPlugin extends Plugin
|
|||||||
|
|
||||||
case ObjectID.MONKEY_TRAP: // Maniacal monkey trap placed
|
case ObjectID.MONKEY_TRAP: // Maniacal monkey trap placed
|
||||||
// If player is right next to "object" trap assume that player placed the trap
|
// If player is right next to "object" trap assume that player placed the trap
|
||||||
if (localPlayer.getWorldLocation().distanceTo(trapLocation) <= 1)
|
if (localPlayer.getWorldLocation().distanceTo(trapLocation) <= 2)
|
||||||
{
|
{
|
||||||
log.debug("Trap placed by \"{}\" on {}", localPlayer.getName(), trapLocation);
|
log.debug("Trap placed by \"{}\" on {}", localPlayer.getName(), trapLocation);
|
||||||
traps.put(trapLocation, new HunterTrap(gameObject));
|
traps.put(trapLocation, new HunterTrap(gameObject));
|
||||||
|
|||||||
Reference in New Issue
Block a user