Fix distance check for maniacal monkey boulders (#6399)

Closes #6269
This commit is contained in:
MaxBartlett
2018-11-19 07:29:25 -05:00
committed by Tomas Slusny
parent 67fd4a812b
commit dd9f39300d

View File

@@ -128,7 +128,7 @@ public class HunterPlugin extends Plugin
case ObjectID.MONKEY_TRAP: // Maniacal monkey trap placed
// 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);
traps.put(trapLocation, new HunterTrap(gameObject));