mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 20:23:53 -07:00
[SPIGOT-946] Begin making use of access transforms to simplify patching.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/server/EntityPotion.java
|
||||
+++ b/net/minecraft/server/EntityPotion.java
|
||||
@@ -3,9 +3,16 @@
|
||||
@@ -3,6 +3,13 @@
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
@@ -13,11 +13,7 @@
|
||||
+
|
||||
public class EntityPotion extends EntityProjectile {
|
||||
|
||||
- private ItemStack item;
|
||||
+ public ItemStack item; // CraftBukkit - public
|
||||
|
||||
public EntityPotion(World world) {
|
||||
super(world);
|
||||
public ItemStack item;
|
||||
@@ -57,13 +64,16 @@
|
||||
if (!this.world.isClientSide) {
|
||||
List list = Items.POTION.h(this.item);
|
||||
|
Reference in New Issue
Block a user