mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2025-01-08 19:28:10 +01:00
Fix block states not being usable in 1.12
This commit is contained in:
parent
a1c7aa5037
commit
456ca8eefc
@ -117,6 +117,9 @@ public class ParamInfoTypes {
|
|||||||
|
|
||||||
Material[] materials = getMaterials();
|
Material[] materials = getMaterials();
|
||||||
|
|
||||||
|
paramInfos.add(new ParamInfoWrappedBlockData(WrappedBlockState.class, "BlockData",
|
||||||
|
"The block data states, barrel[facing=north,open=false] as example"));
|
||||||
|
|
||||||
if (NmsVersion.v1_13.isSupported()) {
|
if (NmsVersion.v1_13.isSupported()) {
|
||||||
paramInfos.add(new ParamInfoParticle("Particle", "The different particles of Minecraft", materials));
|
paramInfos.add(new ParamInfoParticle("Particle", "The different particles of Minecraft", materials));
|
||||||
paramInfos.add(new ParamInfoEnum(Particle.class, "ParticleType", "The different particles of Minecraft"));
|
paramInfos.add(new ParamInfoEnum(Particle.class, "ParticleType", "The different particles of Minecraft"));
|
||||||
@ -125,8 +128,6 @@ public class ParamInfoTypes {
|
|||||||
// new ParamInfoBlockData(BlockData.class, "BlockData", "The block data states, barrel[facing=north,open=false] as
|
// new ParamInfoBlockData(BlockData.class, "BlockData", "The block data states, barrel[facing=north,open=false] as
|
||||||
// example",
|
// example",
|
||||||
// getMaterials()));
|
// getMaterials()));
|
||||||
paramInfos.add(new ParamInfoWrappedBlockData(WrappedBlockState.class, "BlockData",
|
|
||||||
"The block data states, barrel[facing=north,open=false] as example"));
|
|
||||||
} else {
|
} else {
|
||||||
paramInfos.add(new ParamInfoEnum(Particle.class, "Particle", "The different particles of Minecraft"));
|
paramInfos.add(new ParamInfoEnum(Particle.class, "Particle", "The different particles of Minecraft"));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user