mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-06-28 11:45:33 +02:00
Fixes #41
This commit is contained in:
parent
60536d9fdf
commit
49ed004ce2
|
@ -119,7 +119,7 @@ public class WiredEffectTriggerStacks extends InteractionWiredEffect
|
||||||
@Override
|
@Override
|
||||||
public boolean execute(RoomUnit roomUnit, Room room, Object[] stuff)
|
public boolean execute(RoomUnit roomUnit, Room room, Object[] stuff)
|
||||||
{
|
{
|
||||||
if (stuff.length >= 1 && stuff[stuff.length - 1] instanceof WiredEffectTriggerStacks)
|
if (stuff != null && stuff.length >= 1 && stuff[stuff.length - 1] instanceof WiredEffectTriggerStacks)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user