3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-22 14:28:09 +01:00
Paper/nms-patches/EntityLlama.patch

21 Zeilen
564 B
Diff

2016-11-23 00:27:49 +01:00
--- 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();
}