Fix nullability on Block#breakNaturally (#6651)
This commit is contained in:
parent
7e3620fce5
commit
e3ec51968c
2 changed files with 15 additions and 2 deletions
|
@ -17,6 +17,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ }
|
||||
+
|
||||
+ @Override
|
||||
+ public boolean breakNaturally(boolean triggerEffect) {
|
||||
+ return breakNaturally(null, triggerEffect);
|
||||
+ }
|
||||
+
|
||||
+ @Override
|
||||
+ public boolean breakNaturally(ItemStack item, boolean triggerEffect) {
|
||||
+ // Paper end
|
||||
// Order matters here, need to drop before setting to air so skulls can get their data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue