mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-28 12:07:42 +01:00
Formatting
This commit is contained in:
parent
5085f8fa58
commit
641ca02120
@ -1,6 +1,8 @@
|
||||
package net.minestom.codegen.attribute;
|
||||
|
||||
import com.google.gson.*;
|
||||
import com.google.gson.JsonArray;
|
||||
import com.google.gson.JsonElement;
|
||||
import com.google.gson.JsonObject;
|
||||
import com.google.gson.stream.JsonReader;
|
||||
import com.squareup.javapoet.*;
|
||||
import net.minestom.codegen.MinestomCodeGenerator;
|
||||
|
@ -1,6 +1,8 @@
|
||||
package net.minestom.codegen.entity;
|
||||
|
||||
import com.google.gson.*;
|
||||
import com.google.gson.JsonArray;
|
||||
import com.google.gson.JsonElement;
|
||||
import com.google.gson.JsonObject;
|
||||
import com.google.gson.stream.JsonReader;
|
||||
import com.squareup.javapoet.*;
|
||||
import net.minestom.codegen.MinestomCodeGenerator;
|
||||
|
@ -1,6 +1,8 @@
|
||||
package net.minestom.codegen.entity;
|
||||
|
||||
import com.google.gson.*;
|
||||
import com.google.gson.JsonArray;
|
||||
import com.google.gson.JsonElement;
|
||||
import com.google.gson.JsonObject;
|
||||
import com.google.gson.stream.JsonReader;
|
||||
import com.squareup.javapoet.*;
|
||||
import net.minestom.codegen.MinestomCodeGenerator;
|
||||
|
@ -284,7 +284,7 @@ public final class MaterialGenerator extends MinestomCodeGenerator {
|
||||
.build()
|
||||
);
|
||||
if (ap.get("slot") != null) {
|
||||
switch(ap.get("slot").getAsString()) {
|
||||
switch (ap.get("slot").getAsString()) {
|
||||
case "head": {
|
||||
enumConst.addMethod(
|
||||
MethodSpec.methodBuilder("isHelmet")
|
||||
|
Loading…
Reference in New Issue
Block a user