mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2025-02-16 12:21:30 +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) {
|
public static InteractTrigger get(int id, GameWorld gworld) {
|
||||||
if (hasTriggers(gworld)) {
|
if (id != 0) {
|
||||||
for (InteractTrigger trigger : triggers.get(gworld)) {
|
if (hasTriggers(gworld)) {
|
||||||
if (trigger.interactId == id) {
|
for (InteractTrigger trigger : triggers.get(gworld)) {
|
||||||
return trigger;
|
if (trigger.interactId == id) {
|
||||||
|
return trigger;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user