mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Update PlatformManager.java
This commit is contained in:
parent
1c256c1f5a
commit
02d5f3e8d5
@ -333,7 +333,7 @@ public class PlatformManager {
|
|||||||
case HIT: {
|
case HIT: {
|
||||||
// superpickaxe is special because its primary interaction is a left click, not a right click
|
// superpickaxe is special because its primary interaction is a left click, not a right click
|
||||||
// in addition, it is implicitly bound to all pickaxe items, not just a single tool item
|
// in addition, it is implicitly bound to all pickaxe items, not just a single tool item
|
||||||
if (session.hasSuperPickAxe() && player.isHoldingPickAxe()) {
|
if (session.hasSuperPickAxe()) {
|
||||||
final BlockTool superPickaxe = session.getSuperPickaxe();
|
final BlockTool superPickaxe = session.getSuperPickaxe();
|
||||||
if (superPickaxe != null && superPickaxe.canUse(player) && player.isHoldingPickAxe()) {
|
if (superPickaxe != null && superPickaxe.canUse(player) && player.isHoldingPickAxe()) {
|
||||||
FawePlayer<?> fp = FawePlayer.wrap(player);
|
FawePlayer<?> fp = FawePlayer.wrap(player);
|
||||||
|
Loading…
Reference in New Issue
Block a user