From: Deluge <ant...@us...> - 2013-07-30 22:35:26
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/server/entity/mapstuff/portal In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv26050/src/games/stendhal/server/entity/mapstuff/portal Modified Files: ConditionAndActionPortalFactory.java Log Message: Changed "rejecteMessaged" to "rejectedMessage". Index: ConditionAndActionPortalFactory.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/server/entity/mapstuff/portal/ConditionAndActionPortalFactory.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ConditionAndActionPortalFactory.java 30 Jul 2013 18:41:44 -0000 1.3 --- ConditionAndActionPortalFactory.java 30 Jul 2013 22:35:22 -0000 1.4 *************** *** 90,98 **** @Override protected AccessCheckingPortal createPortal(final ConfigurableFactoryContext ctx) { ! String rejectMessage = getStringValue(ctx, "rejected"); ChatCondition condition = getCondition(ctx); ChatAction action = getAction(ctx); ! if (rejectMessage != null) { ! return new ConditionAndActionPortal(condition, rejectMessage, action); } else { return new ConditionAndActionPortal(condition, action); --- 90,98 ---- @Override protected AccessCheckingPortal createPortal(final ConfigurableFactoryContext ctx) { ! String rejectedMessage = getStringValue(ctx, "rejected"); ChatCondition condition = getCondition(ctx); ChatAction action = getAction(ctx); ! if (rejectedMessage != null) { ! return new ConditionAndActionPortal(condition, rejectedMessage, action); } else { return new ConditionAndActionPortal(condition, action); |