Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-08 04:20:06 +01:00
Merge pull request #396 from boy0001/FallbackRegistrationListener-fix
Fix FallbackRegistrationListener
Dieser Commit ist enthalten in:
Commit
034c165bee
@ -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