Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-05 02:50:05 +01:00
Replace RightClickEmpty with RightClickItem.
RightClickEmpty is not fired on the server. RightClickItem fires once for the same event (a right click in air). This fixes brush and other tools that rely on air clicks.
Dieser Commit ist enthalten in:
Ursprung
07854f79fa
Commit
e168f03ab7
@ -196,7 +196,7 @@ public class ForgeWorldEdit {
|
||||
if (we.handleRightClick(player)) {
|
||||
event.setCanceled(true);
|
||||
}
|
||||
} else if (event instanceof PlayerInteractEvent.RightClickEmpty) {
|
||||
} else if (event instanceof PlayerInteractEvent.RightClickItem) {
|
||||
if (we.handleRightClick(player)) {
|
||||
event.setCanceled(true);
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren