Fix thrower Byte

This commit is contained in:
Kam committed 2025-05-24 02:19:03 -04:00
1 parent 784ff54194
commit 5faebbdf6e
1 file changed
+5 -1
@@ -713,7 +713,10 @@ public class EntityProjectile extends EntityThrowable {
this.dataWatcher.updateObject(28, Byte.valueOf((byte) (par1NBTTagCompound.getBoolean("Render3D") ? 1 : 0)));
this.dataWatcher.updateObject(29, Byte.valueOf((byte) (par1NBTTagCompound.getBoolean("Spins") ? 1 : 0)));
this.dataWatcher.updateObject(30, Byte.valueOf((byte) (par1NBTTagCompound.getBoolean("Sticks") ? 1 : 0)));
this.dataWatcher.updateObject(31, par1NBTTagCompound.getString("trailCustom"));
if (par1NBTTagCompound.hasKey("trailCustom")) {
byte trailCustom = par1NBTTagCompound.getByte("trailCustom");
this.dataWatcher.updateObject(31, Byte.valueOf(trailCustom));
}
if (this.throwerName != null && this.throwerName.length() == 0) {
this.throwerName = null;
@@ -893,6 +896,7 @@ public class EntityProjectile extends EntityThrowable {
}
@Override
protected boolean canTriggerWalking() {
return false;