mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47: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());
|
List<String> result = this.onTab(event.getBuffer(), event.getSender());
|
||||||
if (result != null) {
|
if (result != null) {
|
||||||
event.setCompletions(result);
|
event.setCompletions(result);
|
||||||
event.setHandled(true); // Doesn't work
|
event.setHandled(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1036,8 +1036,8 @@ public class LocalSession implements TextureHolder {
|
|||||||
Tool previous;
|
Tool previous;
|
||||||
if (player != null && (tool instanceof BrushTool || tool == null) && Settings.IMP.EXPERIMENTAL.PERSISTENT_BRUSHES && item.getNativeItem() != null) {
|
if (player != null && (tool instanceof BrushTool || tool == null) && Settings.IMP.EXPERIMENTAL.PERSISTENT_BRUSHES && item.getNativeItem() != null) {
|
||||||
previous = BrushCache.getCachedTool(item);
|
previous = BrushCache.getCachedTool(item);
|
||||||
|
BrushCache.setTool(item, (BrushTool) tool);
|
||||||
if (tool != null) {
|
if (tool != null) {
|
||||||
BrushCache.setTool(item, (BrushTool) tool);
|
|
||||||
((BrushTool) tool).setHolder(item);
|
((BrushTool) tool).setHolder(item);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user