mirror of
https://github.com/ViaVersion/ViaLegacy.git
synced 2024-09-28 04:17:40 +02:00
Handle out of bounds data values for stone
This commit is contained in:
parent
0a8e70e5dd
commit
9ed5575a29
@ -34,6 +34,9 @@ public class ChunkTracker extends AbstractChunkTracker {
|
|||||||
for (int i = 1; i < 16; i++) { // air
|
for (int i = 1; i < 16; i++) { // air
|
||||||
this.registerReplacement(new IdAndData(0, i), new IdAndData(0, 0));
|
this.registerReplacement(new IdAndData(0, i), new IdAndData(0, 0));
|
||||||
}
|
}
|
||||||
|
for (int i = 1; i < 7; i++) { // stone variants
|
||||||
|
this.registerReplacement(new IdAndData(BlockList1_6.stone.blockID, i), new IdAndData(BlockList1_6.stone.blockID, 0));
|
||||||
|
}
|
||||||
this.registerReplacement(new IdAndData(BlockList1_6.chest.blockID, 0), new IdAndData(BlockList1_6.chest.blockID, 3));
|
this.registerReplacement(new IdAndData(BlockList1_6.chest.blockID, 0), new IdAndData(BlockList1_6.chest.blockID, 3));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user