From 0ebc2f2c92e4b51069f497aca9f715198010bdf2 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Wed, 18 Mar 2009 09:16:22 -0400 Subject: Engine: Added ImmutableEventTest --- .../fourisland/fourpuzzle/gamestate/mapview/event/ImmutableEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/fourisland') diff --git a/src/com/fourisland/fourpuzzle/gamestate/mapview/event/ImmutableEvent.java b/src/com/fourisland/fourpuzzle/gamestate/mapview/event/ImmutableEvent.java index e2eea05..b722b68 100644 --- a/src/com/fourisland/fourpuzzle/gamestate/mapview/event/ImmutableEvent.java +++ b/src/com/fourisland/fourpuzzle/gamestate/mapview/event/ImmutableEvent.java @@ -56,7 +56,7 @@ public final class ImmutableEvent public List getLegalMoves() { - return Collections.unmodifiableList(ev.getLegalMoves()); + return ev.getLegalMoves(); } public int getAnimationStep() -- cgit 1.4.1