Appease Codacy
This commit is contained in:
parent
812bc0d8c4
commit
220ee30d35
@ -104,7 +104,7 @@ public final class SpongeSchematic extends StaticSchematic {
|
||||
this.properties = properties;
|
||||
}
|
||||
|
||||
IBlockState deserialize() {
|
||||
private IBlockState deserialize() {
|
||||
if (this.blockState == null) {
|
||||
Block block = Block.REGISTRY.getObject(this.resourceLocation);
|
||||
this.blockState = block.getDefaultState();
|
||||
@ -119,7 +119,7 @@ public final class SpongeSchematic extends StaticSchematic {
|
||||
return this.blockState;
|
||||
}
|
||||
|
||||
static SerializedBlockState getFromString(String s) {
|
||||
private static SerializedBlockState getFromString(String s) {
|
||||
Matcher m = REGEX.matcher(s);
|
||||
if (!m.matches()) {
|
||||
return null;
|
||||
|
@ -54,9 +54,10 @@ public final class VarInt {
|
||||
return this.serialized;
|
||||
}
|
||||
|
||||
private static byte[] serialize0(int value) {
|
||||
private static byte[] serialize0(int valueIn) {
|
||||
ByteList bytes = new ByteArrayList();
|
||||
|
||||
int value = valueIn;
|
||||
while ((value & 0x80) != 0) {
|
||||
bytes.add((byte) (value & 0x7F | 0x80));
|
||||
value >>>= 7;
|
||||
|
Loading…
Reference in New Issue
Block a user