AreaDescriptor now returns unmodifiable collection

This commit is contained in:
Vindex 2015-12-31 17:16:13 +01:00 committed by boss
parent 77a9a8c445
commit 17e814785e

View file

@ -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