mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-02-13 10:51:20 +01:00
Remove updateInventory from noGo
There was not specific reason why this was being done and in testing, I cannot find a reason why it is needed (yet) so I am removing it due to the lag reported in https://github.com/BentoBoxWorld/BentoBox/issues/1580
This commit is contained in:
parent
2cb1e7c306
commit
2e00602371
@ -94,11 +94,8 @@ public abstract class FlagListener implements Listener {
|
||||
if (e instanceof Cancellable) {
|
||||
((Cancellable)e).setCancelled(true);
|
||||
}
|
||||
if (user != null) {
|
||||
if (!silent) {
|
||||
user.notify(string, TextVariables.DESCRIPTION, user.getTranslation(flag.getHintReference()));
|
||||
}
|
||||
user.updateInventory();
|
||||
if (user != null && !silent) {
|
||||
user.notify(string, TextVariables.DESCRIPTION, user.getTranslation(flag.getHintReference()));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user