public static void performNPCMove(int x, int y, long id) { Character characterFromID = MultiplayerUtility.getCharacterFromID(id); if (characterFromID != null && !characterFromID.ignoreMultiplayerUpdates) { characterFromID.updatePositionFromServer(new Vector2((float)x, (float)y)); } }