Fix aliases not working when setting

This commit is contained in:
Eric Stokes 2011-11-22 19:41:56 -07:00
parent 9f8e1689f6
commit 3c424c1c33

View File

@ -326,6 +326,8 @@ public class MVWorld implements MultiverseWorld {
return true; return true;
} }
return false; return false;
} else if (this.propertyAliases.containsKey(name)) {
return this.setProperty(this.propertyAliases.get(name), value);
} }
throw new PropertyDoesNotExistException(name); throw new PropertyDoesNotExistException(name);
} }