mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 09:41:29 +01:00
Fixed interacting with Air returning a false block.
By: feildmaster <admin@feildmaster.com>
This commit is contained in:
parent
6ab777a338
commit
495ebd7020
@ -142,7 +142,7 @@ public class CraftEventFactory {
|
||||
if (action != Action.LEFT_CLICK_AIR && action != Action.RIGHT_CLICK_AIR) {
|
||||
throw new IllegalArgumentException();
|
||||
}
|
||||
return callPlayerInteractEvent(who, action, 0, 255, 0, 0, itemstack);
|
||||
return callPlayerInteractEvent(who, action, 0, 256, 0, 0, itemstack);
|
||||
}
|
||||
|
||||
public static PlayerInteractEvent callPlayerInteractEvent(EntityHuman who, Action action, int clickedX, int clickedY, int clickedZ, int clickedFace, ItemStack itemstack) {
|
||||
|
Loading…
Reference in New Issue
Block a user