9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-23 00:49:33 +00:00

no change

This commit is contained in:
Xiao-MoMi
2022-05-22 19:46:48 +08:00
parent 9fe67dd7cc
commit eb97f1e8fc
6 changed files with 8 additions and 25 deletions

View File

@@ -57,7 +57,6 @@ public final class CustomCrops extends JavaPlugin {
List<WrappedChatComponent> components = packet.getChatComponents().getValues();
for (WrappedChatComponent component : components) {
if(component.toString().contains("Ender Chest")){
//component.setJson("{\"text\":\"收纳袋\"}");
component.setJson("{\"translate\":\"container.enderchest\"}");
packet.getChatComponents().write(components.indexOf(component), component);
}