mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Fix /none
This commit is contained in:
parent
fc949e3efc
commit
ffa9eace6f
@ -23,7 +23,7 @@ public class AsyncTabCompleteListener extends ATabCompleteListener {
|
||||
List<String> result = this.onTab(event.getBuffer(), event.getSender());
|
||||
if (result != null) {
|
||||
event.setCompletions(result);
|
||||
event.setHandled(true); // Doesn't work
|
||||
event.setHandled(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1036,8 +1036,8 @@ public class LocalSession implements TextureHolder {
|
||||
Tool previous;
|
||||
if (player != null && (tool instanceof BrushTool || tool == null) && Settings.IMP.EXPERIMENTAL.PERSISTENT_BRUSHES && item.getNativeItem() != null) {
|
||||
previous = BrushCache.getCachedTool(item);
|
||||
BrushCache.setTool(item, (BrushTool) tool);
|
||||
if (tool != null) {
|
||||
BrushCache.setTool(item, (BrushTool) tool);
|
||||
((BrushTool) tool).setHolder(item);
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user