mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 09:34:44 +01:00
21 lines
672 B
Diff
21 lines
672 B
Diff
|
--- a/net/minecraft/world/level/block/ChiseledBookShelfBlock.java
|
||
|
+++ b/net/minecraft/world/level/block/ChiseledBookShelfBlock.java
|
||
|
@@ -128,7 +128,7 @@
|
||
|
}
|
||
|
}
|
||
|
|
||
|
- private static int getHitSlot(Vec2F vec2f) {
|
||
|
+ public static int getHitSlot(Vec2F vec2f) { //CraftBukkit - private -> public
|
||
|
int i = vec2f.y >= 0.5F ? 0 : 1;
|
||
|
int j = getSection(vec2f.x);
|
||
|
|
||
|
@@ -190,7 +190,7 @@
|
||
|
|
||
|
Objects.requireNonNull(blockstatelist_a);
|
||
|
list.forEach((iblockstate) -> {
|
||
|
- blockstatelist_a.add(iblockstate);
|
||
|
+ blockstatelist_a.add((BlockStateBoolean) iblockstate); // CraftBukkit - Decompile error
|
||
|
});
|
||
|
}
|
||
|
|