|
im adding a command that if your within 3 squares of the person typing the command you get 100k.
here is what i have
but it doesnt work, can any 1 help?Code:if (playerCommand.equalsIgnoreCase("testing")) { for (Player p : Server.playerHandler.players) { if (p.playerName != null && p != null && c.distanceToPoint(c.getX, c.getY) <= 3) { c.getItems().addItem(995, 100000); } } }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |