about my "Can't add stairs entity to the gamecontent" commit
Hi, I ve added 2 commented lines to the project :
//stairs = SpeciesArray.create(posX, posY, 50, "Stairs", "Stairs"); //addTriggerToCheck(stairs);
when i uncomment them I have the error :
GRAVE: java.io.NotSerializableException: core.gamestate.Trigger Exception in thread "Thread-6" java.lang.AssertionError: networks: Please don't try to use unserializable objectscore.event.MapInit@751607c3 at network.innershell.LocalConnection.sendEvent(LocalConnection.java:49)
It means that MapInit is no longer Serializable. I don't understand it all. Does someone can explain me why adding an entity makes it the case, or resolve the issue ?