mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-24 19:45:43 +01:00
Fixed Interact Signs
This commit is contained in:
parent
bf9122d593
commit
c26c224b9e
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user