mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 06:07:27 +00:00
Fix thrower Byte
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user