mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-12 04:38:35 +00:00
Merge remote-tracking branch 'remotes/origin/commanding' into commanding
# Conflicts: # worldedit-core/src/main/java/com/sk89q/worldedit/command/ChunkCommands.java # worldedit-core/src/main/java/com/sk89q/worldedit/command/UtilityCommands.java
This commit is contained in:
@ -333,7 +333,7 @@ public class PlatformManager {
|
||||
case HIT: {
|
||||
// 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
|
||||
if (session.hasSuperPickAxe() && player.isHoldingPickAxe()) {
|
||||
if (session.hasSuperPickAxe()) {
|
||||
final BlockTool superPickaxe = session.getSuperPickaxe();
|
||||
if (superPickaxe != null && superPickaxe.canUse(player) && player.isHoldingPickAxe()) {
|
||||
FawePlayer<?> fp = FawePlayer.wrap(player);
|
||||
|
Reference in New Issue
Block a user