- Added Slapshot's fix which prevents the human from playing multiple lands when dev mode is off.

This commit is contained in:
Chris
2011-12-24 03:07:28 +00:00
parent 429fe64a11
commit ef3f05c08f

View File

@@ -1738,7 +1738,7 @@ public abstract class Player extends GameEntity {
public final boolean canPlayLand() {
final ViewTopLevel t = ((GuiTopLevel) AllZone.getDisplay()).getController().getMatchController().getView();
if (t.getTabberController().getView().getLblUnlimitedLands().getEnabled() && this.isHuman()) {
if (t.getTabberController().getView().getLblUnlimitedLands().getEnabled() && this.isHuman() && Constant.Runtime.DEV_MODE[0]) {
return Phase.canCastSorcery(this);
}