Merge pull request #39 from craftinc/bugfix/serialization
fixed broken location/exit serialization of gates.
This commit is contained in:
commit
d5d079bfcf
@ -286,11 +286,11 @@ public class Gate implements ConfigurationSerializable {
|
||||
retVal.put(materialKey, material.toString());
|
||||
|
||||
if (exit != null) {
|
||||
retVal.put(exitKey, exit.serialize());
|
||||
retVal.put(exitKey, exit);
|
||||
}
|
||||
|
||||
if (location != null) {
|
||||
retVal.put(locationKey, location.serialize());
|
||||
retVal.put(locationKey, location);
|
||||
}
|
||||
|
||||
return retVal;
|
||||
|
Loading…
x
Reference in New Issue
Block a user