mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2024-11-11 01:17:16 +00:00
Fix Axolotl Variant typo
This commit is contained in:
parent
aa709c791d
commit
41187cd35d
2 changed files with 6 additions and 6 deletions
|
@ -112,7 +112,7 @@ public class MetaIndex<Y> {
|
|||
public static MetaIndex<Byte> ARROW_PIERCE_LEVEL = new MetaIndex<>(ArrowWatcher.class, 2, (byte) 0);
|
||||
|
||||
@NmsAddedIn(NmsVersion.v1_17)
|
||||
public static MetaIndex<Integer> AXOLOTL_VARIENT = new MetaIndex<>(AxolotlWatcher.class, 0, 0);
|
||||
public static MetaIndex<Integer> AXOLOTL_VARIANT = new MetaIndex<>(AxolotlWatcher.class, 0, 0);
|
||||
|
||||
@NmsAddedIn(NmsVersion.v1_17)
|
||||
public static MetaIndex<Boolean> AXOLOTL_PLAYING_DEAD = new MetaIndex<>(AxolotlWatcher.class, 1, false);
|
||||
|
|
|
@ -21,12 +21,12 @@ public class AxolotlWatcher extends AgeableWatcher {
|
|||
sendData(MetaIndex.AXOLOTL_PLAYING_DEAD);
|
||||
}
|
||||
|
||||
public Axolotl.Variant getVarient() {
|
||||
return Axolotl.Variant.values()[getData(MetaIndex.AXOLOTL_VARIENT)];
|
||||
public Axolotl.Variant getVariant() {
|
||||
return Axolotl.Variant.values()[getData(MetaIndex.AXOLOTL_VARIANT)];
|
||||
}
|
||||
|
||||
public void setVarient(Axolotl.Variant varient) {
|
||||
setData(MetaIndex.AXOLOTL_VARIENT, varient.ordinal());
|
||||
sendData(MetaIndex.AXOLOTL_VARIENT);
|
||||
public void setVariant(Axolotl.Variant variant) {
|
||||
setData(MetaIndex.AXOLOTL_VARIANT, variant.ordinal());
|
||||
sendData(MetaIndex.AXOLOTL_VARIANT);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue