fix toolbar preview for non-player entities
This commit is contained in:
parent
bea7626042
commit
9ef6ab626e
@ -389,7 +389,9 @@ public class ClientToolbarState implements BehaviorTree {
|
||||
public void simulate(float deltaTime) {
|
||||
if(this.previousFrameSlot != this.selectedSlot){
|
||||
this.previousFrameSlot = this.selectedSlot;
|
||||
ToolbarPreviewWindow.reveal();
|
||||
if(this.parent == Globals.playerEntity){
|
||||
ToolbarPreviewWindow.reveal();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user