mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-13 13:03:54 +00:00
fix //none
for tools
This commit is contained in:
@ -1073,6 +1073,8 @@ public class LocalSession implements TextureHolder {
|
|||||||
BrushCache.setTool(item, (BrushTool) tool);
|
BrushCache.setTool(item, (BrushTool) tool);
|
||||||
if (tool != null) {
|
if (tool != null) {
|
||||||
((BrushTool) tool).setHolder(item);
|
((BrushTool) tool).setHolder(item);
|
||||||
|
} else {
|
||||||
|
this.tools[type.getInternalId()] = null;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
previous = this.tools[type.getInternalId()];
|
previous = this.tools[type.getInternalId()];
|
||||||
|
Reference in New Issue
Block a user