more compile fixes
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
+ // Paper end - PlayerBedFailEnterEvent
|
||||
+ // CraftBukkit start - handling bed explosion from below here
|
||||
+ if (event.getWillExplode()) { // Paper - PlayerBedFailEnterEvent
|
||||
+ this.explodeBed(finaliblockdata, world, finalblockposition);
|
||||
+ this.explodeBed(finaliblockdata, level, finalblockposition);
|
||||
+ } else
|
||||
+ // CraftBukkit end
|
||||
if (bedSleepingProblem.getMessage() != null) {
|
||||
|
||||
@@ -191,7 +191,7 @@
|
||||
}
|
||||
|
||||
- public static int getTotalCookTime(ServerLevel level, AbstractFurnaceBlockEntity furnace) {
|
||||
+ private static int getTotalCookTime(@Nullable ServerLevel level, AbstractFurnaceBlockEntity furnace, RecipeType<? extends AbstractCookingRecipe> recipeType, double cookSpeedMultiplier) { // Paper - cook speed multiplier API
|
||||
+ public static int getTotalCookTime(@Nullable ServerLevel level, AbstractFurnaceBlockEntity furnace, RecipeType<? extends AbstractCookingRecipe> recipeType, double cookSpeedMultiplier) { // Paper - cook speed multiplier API
|
||||
SingleRecipeInput singleRecipeInput = new SingleRecipeInput(furnace.getItem(0));
|
||||
- return furnace.quickCheck.getRecipeFor(singleRecipeInput, level).map(recipe -> recipe.value().cookingTime()).orElse(200);
|
||||
+ // Paper start - cook speed multiplier API
|
||||
|
||||
Reference in New Issue
Block a user