Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-20 01:40:06 +01:00
Fix FallbackRegistrationListener
Dieser Commit ist enthalten in:
Ursprung
5c64cf2f56
Commit
01e082a1a4
@ -34,7 +34,7 @@ public class FallbackRegistrationListener implements Listener {
|
|||||||
|
|
||||||
@EventHandler(ignoreCancelled = true)
|
@EventHandler(ignoreCancelled = true)
|
||||||
public void onPlayerCommandPreprocess(PlayerCommandPreprocessEvent event) {
|
public void onPlayerCommandPreprocess(PlayerCommandPreprocessEvent event) {
|
||||||
if (commandRegistration.dispatch(event.getPlayer(), event.getMessage())) {
|
if (commandRegistration.dispatch(event.getPlayer(), event.getMessage().substring(1))) {
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren