mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-27 19:19:07 +00:00
Warn for smoothie's illegal reflective access
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package net.querz.mca;
|
||||
|
||||
import com.volmit.iris.Iris;
|
||||
import io.timeandspace.smoothie.OptimizationObjective;
|
||||
import io.timeandspace.smoothie.SmoothieMap;
|
||||
import net.querz.nbt.tag.ByteArrayTag;
|
||||
@@ -27,6 +28,7 @@ public class Section {
|
||||
|
||||
public Section(CompoundTag sectionRoot, int dataVersion) {
|
||||
this(sectionRoot, dataVersion, ALL_DATA);
|
||||
Iris.warnsmoothie();
|
||||
}
|
||||
|
||||
public Section(CompoundTag sectionRoot, int dataVersion, long loadFlags) {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package net.querz.nbt.tag;
|
||||
|
||||
import com.volmit.iris.Iris;
|
||||
import io.timeandspace.smoothie.OptimizationObjective;
|
||||
import io.timeandspace.smoothie.SmoothieMap;
|
||||
import net.querz.io.MaxDepthIO;
|
||||
@@ -13,6 +14,7 @@ public class CompoundTag extends Tag<Map<String, Tag<?>>> implements Iterable<Ma
|
||||
|
||||
public CompoundTag() {
|
||||
super(createEmptyValue());
|
||||
Iris.warnsmoothie();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user