some compile issues
This commit is contained in:
@@ -12,7 +12,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
int i = tileentitydispenser.getRandomSlot(world.random);
|
int i = tileentitydispenser.getRandomSlot(world.random);
|
||||||
|
|
||||||
if (i < 0) {
|
if (i < 0) {
|
||||||
+ if (orgg.bukkit.craftbukkit.event.CraftEventFactory.handleBlockFailedDispenseEvent(world, pos)) {// Paper - BlockFailedDispenseEvent is called here
|
+ if (org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockFailedDispenseEvent(world, pos)) { // Paper - BlockFailedDispenseEvent is called here
|
||||||
world.levelEvent(1001, pos, 0);
|
world.levelEvent(1001, pos, 0);
|
||||||
world.gameEvent(GameEvent.BLOCK_ACTIVATE, pos, GameEvent.Context.of(tileentitydispenser.getBlockState()));
|
world.gameEvent(GameEvent.BLOCK_ACTIVATE, pos, GameEvent.Context.of(tileentitydispenser.getBlockState()));
|
||||||
+ } // Paper
|
+ } // Paper
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+ // Paper start
|
+ // Paper start
|
||||||
+ this(template, base, addition, true);
|
+ this(template, base, addition, true);
|
||||||
+ }
|
+ }
|
||||||
+ public SmithingTrimRecipe(ResourceLocation id, Ingredient template, Ingredient base, Ingredient addition, boolean copyNbt) {
|
+ public SmithingTrimRecipe(Ingredient template, Ingredient base, Ingredient addition, boolean copyNbt) {
|
||||||
+ this.copyNbt = copyNbt;
|
+ this.copyNbt = copyNbt;
|
||||||
+ // Paper end
|
+ // Paper end
|
||||||
this.template = template;
|
this.template = template;
|
||||||
|
|||||||
Reference in New Issue
Block a user