summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityLlama.patch
blob: c3214d7e2522bedfb5de4012fce302fc0c3eeb55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/net/minecraft/server/EntityLlama.java
+++ b/net/minecraft/server/EntityLlama.java
@@ -20,7 +20,7 @@
         this.setSize(0.9F, 1.87F);
     }
 
-    private void p(int i) {
+    public void p(int i) { // PAIL: private-> public, rename
         this.datawatcher.set(EntityLlama.bG, Integer.valueOf(Math.max(1, Math.min(5, i))));
     }
 
@@ -30,7 +30,7 @@
         this.p(1 + this.random.nextInt(i));
     }
 
-    public int dL() {
+    public int dL() { // PAIL: rename
         return ((Integer) this.datawatcher.get(EntityLlama.bG)).intValue();
     }