Removed unnecessary NuxAlertComposer from InteractionInformationTerminal. Client side does it.

This commit is contained in:
Beny 2019-05-25 13:51:51 +01:00
parent 0c05af80c2
commit 3c9a81d064

View File

@ -30,15 +30,6 @@ public class InteractionInformationTerminal extends InteractionCustomValues
super(id, userId, item, extradata, limitedStack, limitedSells, defaultValues); super(id, userId, item, extradata, limitedStack, limitedSells, defaultValues);
} }
@Override
public void onClick(GameClient client, Room room, Object[] objects) throws Exception {
super.onClick(client, room, objects);
if(this.values.containsKey("internalLink")) {
client.sendResponse(new NuxAlertComposer(this.values.get("internalLink")));
}
}
@Override @Override
public void onWalk(RoomUnit roomUnit, Room room, Object[] objects) throws Exception { public void onWalk(RoomUnit roomUnit, Room room, Object[] objects) throws Exception {
super.onWalk(roomUnit, room, objects); super.onWalk(roomUnit, room, objects);