Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-24 15:20:11 +01:00
12 Zeilen
717 B
Diff
12 Zeilen
717 B
Diff
|
--- a/net/minecraft/server/ItemActionContext.java
|
||
|
+++ b/net/minecraft/server/ItemActionContext.java
|
||
|
@@ -15,7 +15,7 @@
|
||
|
this(entityhuman.world, entityhuman, enumhand, entityhuman.b(enumhand), movingobjectpositionblock);
|
||
|
}
|
||
|
|
||
|
- protected ItemActionContext(World world, @Nullable EntityHuman entityhuman, EnumHand enumhand, ItemStack itemstack, MovingObjectPositionBlock movingobjectpositionblock) {
|
||
|
+ public ItemActionContext(World world, @Nullable EntityHuman entityhuman, EnumHand enumhand, ItemStack itemstack, MovingObjectPositionBlock movingobjectpositionblock) { // PAIL protected -> public
|
||
|
this.a = entityhuman;
|
||
|
this.b = enumhand;
|
||
|
this.c = movingobjectpositionblock;
|