Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-09 13:00:05 +01:00
Worked around brokenness in PlayerInteractEvent
Dieser Commit ist enthalten in:
Ursprung
59ade7a386
Commit
3c92bd9451
@ -87,7 +87,7 @@ public class WorldEditPlayerListener extends PlayerListener {
|
||||
*/
|
||||
@Override
|
||||
public void onPlayerInteract(PlayerInteractEvent event) {
|
||||
if (event.isCancelled())
|
||||
if (event.isCancelled() && event.hasBlock())
|
||||
return;
|
||||
if (event.getAction() == Action.LEFT_CLICK_BLOCK) {
|
||||
LocalWorld world = new BukkitWorld(event.getClickedBlock().getWorld());
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren