mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +00:00
these checks are not needed any more
This commit is contained in:
parent
038e8ab216
commit
375da96239
1 changed files with 0 additions and 5 deletions
|
@ -1463,11 +1463,6 @@ public class PKListener implements Listener {
|
||||||
} else if (bPlayer.isChiBlocked()) {
|
} else if (bPlayer.isChiBlocked()) {
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
return;
|
return;
|
||||||
} else if (GeneralMethods.isInteractable(player.getTargetBlock(new HashSet<Material>(), 5))) {
|
|
||||||
event.setCancelled(true);
|
|
||||||
return;
|
|
||||||
} else if (player.getInventory().getItemInMainHand().getType() == Material.FISHING_ROD) {
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
BlockSource.update(player, ClickType.LEFT_CLICK);
|
BlockSource.update(player, ClickType.LEFT_CLICK);
|
||||||
|
|
Loading…
Reference in a new issue