Fixed Interact Signs

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

View File

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