Fix WorldEvent.PotentialSpawns Event passing the list instance of the ChunkProvider to users
This commit is contained in:
parent
9b128aaed2
commit
de1c270644
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ public class WorldEvent extends Event
|
||||||
this.type = type;
|
this.type = type;
|
||||||
if (oldList != null)
|
if (oldList != null)
|
||||||
{
|
{
|
||||||
this.list = oldList;
|
this.list = new ArrayList<SpawnListEntry>(oldList);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue