mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-12 13:44:07 +01:00
Set container title in anvilmenu
This commit is contained in:
parent
fa9b99a05b
commit
0eb997be33
@ -1256,6 +1256,7 @@ public class NMSImpl implements NMSBridge {
|
|||||||
return this.bukkitEntity;
|
return this.bukkitEntity;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
container.setTitle(MutableComponent.create(new LiteralContents(title == null ? "" : title)));
|
||||||
container.getBukkitView().setItem(0, anvil.getItem(0));
|
container.getBukkitView().setItem(0, anvil.getItem(0));
|
||||||
container.getBukkitView().setItem(1, anvil.getItem(1));
|
container.getBukkitView().setItem(1, anvil.getItem(1));
|
||||||
container.checkReachable = false;
|
container.checkReachable = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user