mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-07 08:39:07 +00:00
More fixes (#235)
- Dwarf cannon can now be seen by anyone and not just the person who sets it down (they can also see the rotation now) - Fixed doors being removed when clicking them - Removed banking command for regular players - Fixed nulodion now only gives if you have space - Updated nulodion message so it doesnt say to find him at home - Npcs wont follow you if you turn on the cantAttack comamand (for admins - Fixed gate at KBD - Fixed the gates at Ice giants in wildy #closes 132 #closes 203 #closes 211 #closes 6 also this one should be closed from previous patch #closes 219
This commit is contained in:
committed by
Daniel Ginovker
parent
9fb110bb41
commit
8af938548b
@@ -40,9 +40,9 @@ public class PlayerAssistant {
|
||||
public void objectAnim(int X, int Y, int animationID, int tileObjectType, int orientation) {
|
||||
for (Player p : PlayerHandler.players) {
|
||||
if(p != null) {
|
||||
Client players = (Client)p;
|
||||
Player players = (Player)p;
|
||||
if(players.distanceToPoint(X, Y) <= 25) {
|
||||
player.getPacketSender().createPlayersObjectAnim(X, Y, animationID, tileObjectType, orientation);
|
||||
players.getPacketSender().createPlayersObjectAnim(X, Y, animationID, tileObjectType, orientation);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user