AT & Mapping fixes (#6809)
This commit is contained in:
@@ -87,7 +87,7 @@ diff --git a/src/main/java/net/minecraft/world/level/chunk/DataLayer.java b/src/
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/net/minecraft/world/level/chunk/DataLayer.java
|
||||
+++ b/src/main/java/net/minecraft/world/level/chunk/DataLayer.java
|
||||
@@ -0,0 +0,0 @@ public class DataLayer {
|
||||
@@ -0,0 +0,0 @@ public final class DataLayer {
|
||||
private static final int NIBBLE_SIZE = 4;
|
||||
@Nullable
|
||||
protected byte[] data;
|
||||
@@ -153,7 +153,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
if (bytes.length != 2048) {
|
||||
throw (IllegalArgumentException) Util.pauseInIde((Throwable) (new IllegalArgumentException("DataLayer should be 2048 bytes not: " + bytes.length)));
|
||||
}
|
||||
@@ -0,0 +0,0 @@ public class DataLayer {
|
||||
@@ -0,0 +0,0 @@ public final class DataLayer {
|
||||
|
||||
private void set(int index, int value) {
|
||||
if (this.data == null) {
|
||||
@@ -163,7 +163,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
}
|
||||
|
||||
int k = DataLayer.getByteIndex(index);
|
||||
@@ -0,0 +0,0 @@ public class DataLayer {
|
||||
@@ -0,0 +0,0 @@ public final class DataLayer {
|
||||
public byte[] getData() {
|
||||
if (this.data == null) {
|
||||
this.data = new byte[2048];
|
||||
|
||||
Reference in New Issue
Block a user