mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-22 16:39:36 +00:00
Update CustomCrops.java
This commit is contained in:
@@ -54,7 +54,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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user