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