Fixed Interact Signs

This commit is contained in:
Sn0wStorm 2013-10-14 17:53:24 +02:00
parent bf9122d593
commit c26c224b9e

View File

@ -77,10 +77,12 @@ public class InteractTrigger extends Trigger {
}
public static InteractTrigger get(int id, GameWorld gworld) {
if (hasTriggers(gworld)) {
for (InteractTrigger trigger : triggers.get(gworld)) {
if (trigger.interactId == id) {
return trigger;
if (id != 0) {
if (hasTriggers(gworld)) {
for (InteractTrigger trigger : triggers.get(gworld)) {
if (trigger.interactId == id) {
return trigger;
}
}
}
}