quick fix : Redundant local variable

This commit is contained in:
Alexdoru committed 2023-01-25 22:43:06 +01:00
1 parent 92418806c1
commit a2295f380e
16 files changed
+23 -55

No files matched your search

@@ -76,9 +76,7 @@ public class BattlesignLogic extends EquipLogic {
public S35PacketUpdateTileEntity getDescriptionPacket() {
NBTTagCompound compound = new NBTTagCompound();
this.writeToNBT(compound);
S35PacketUpdateTileEntity packet = new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 1, compound);
return packet;
return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 1, compound);
}
@Override