quick fix : Condition is covered by further condition

This commit is contained in:
Alexdoru committed 2023-01-25 23:27:18 +01:00
1 parent 1af7ee9205
commit efd18b873e
17 files changed
+16 -25

No files matched your search

@@ -219,7 +219,7 @@ public class Scythe extends Weapon {
if (world.isRemote) {
INetHandler handler = FMLClientHandler.instance()
.getClientPlayHandler();
if (handler != null && handler instanceof NetHandlerPlayClient) {
if (handler instanceof NetHandlerPlayClient) {
NetHandlerPlayClient handlerClient =
(NetHandlerPlayClient) handler;
handlerClient.addToSendQueue(new C07PacketPlayerDigging(