geforkt von Mirrors/Paper
Fixed interacting with Air returning a false block.
Dieser Commit ist enthalten in:
Ursprung
7c137d8b19
Commit
058bd748b6
@ -142,7 +142,7 @@ public class CraftEventFactory {
|
|||||||
if (action != Action.LEFT_CLICK_AIR && action != Action.RIGHT_CLICK_AIR) {
|
if (action != Action.LEFT_CLICK_AIR && action != Action.RIGHT_CLICK_AIR) {
|
||||||
throw new IllegalArgumentException();
|
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) {
|
public static PlayerInteractEvent callPlayerInteractEvent(EntityHuman who, Action action, int clickedX, int clickedY, int clickedZ, int clickedFace, ItemStack itemstack) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren