Fixed typo in WiredEffectTriggerStacks.java

This commit is contained in:
Yordi 2024-10-16 10:36:33 +02:00
parent 0a6355996a
commit 52ac763c34

View File

@ -147,7 +147,7 @@ public class WiredEffectTriggerStacks extends InteractionWiredEffect {
Object[] newStuff = new Object[stuff.length + 1]; Object[] newStuff = new Object[stuff.length + 1];
System.arraycopy(stuff, 0, newStuff, 0, stuff.length); System.arraycopy(stuff, 0, newStuff, 0, stuff.length);
newStuff[newStuff.length - 1] = this; newStuff[newStuff.length - 1] = this;
WiredHandler.executeEffectsAtTiles(usedTiles, roomUnit, room, stuff); WiredHandler.executeEffectsAtTiles(usedTiles, roomUnit, room, newStuff);
return true; return true;
} }