AreaDescriptor now returns unmodifiable collection
This commit is contained in:
parent
77a9a8c445
commit
17e814785e
|
@ -1,6 +1,7 @@
|
|||
package WayofTime.bloodmagic.api.ritual;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
|
@ -71,7 +72,7 @@ public class AreaDescriptor
|
|||
cachedPosition = pos;
|
||||
}
|
||||
|
||||
return blockPosCache;
|
||||
return Collections.unmodifiableList(blockPosCache);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue