mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-31 20:41:29 +01:00
Removed useless import
This commit is contained in:
parent
8483752046
commit
8fd7c35a32
@ -2,8 +2,8 @@
|
||||
// AUTOGENERATED BY EnumGenerator
|
||||
//==============================
|
||||
package net.minestom.server.item;
|
||||
|
||||
import net.minestom.server.instance.block.Block;
|
||||
import it.unimi.dsi.fastutil.shorts.Short2ObjectOpenHashMap;
|
||||
|
||||
public enum Material {
|
||||
AIR("minecraft:air", 0, Block.AIR),
|
||||
|
@ -130,7 +130,6 @@ public class ItemEnumGenerator extends MinestomEnumGenerator<ItemContainer> {
|
||||
protected void prepare(EnumGenerator generator) {
|
||||
String className = getClassName();
|
||||
generator.addImport(Block.class.getCanonicalName());
|
||||
generator.addImport(Short2ObjectOpenHashMap.class.getCanonicalName());
|
||||
generator.setParams("String namespaceID", "int maxDefaultStackSize", "Block correspondingBlock");
|
||||
generator.addMethod("getId", "()", "short", "return (short)ordinal();");
|
||||
generator.addMethod("getName", "()", "String", "return namespaceID;");
|
||||
|
Loading…
Reference in New Issue
Block a user