Fix WorldEvent.PotentialSpawns Event passing the list instance of the ChunkProvider to users

This commit is contained in:
Bernhard Bonigl 2016-02-22 18:45:31 +01:00
parent 9b128aaed2
commit de1c270644

View file

@ -103,7 +103,7 @@ public class WorldEvent extends Event
this.type = type;
if (oldList != null)
{
this.list = oldList;
this.list = new ArrayList<SpawnListEntry>(oldList);
}
else
{