summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityTurtle.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityTurtle.patch')
-rw-r--r--nms-patches/EntityTurtle.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/nms-patches/EntityTurtle.patch b/nms-patches/EntityTurtle.patch
index 11c6bc4b..30b08c19 100644
--- a/nms-patches/EntityTurtle.patch
+++ b/nms-patches/EntityTurtle.patch
@@ -1,16 +1,16 @@
--- a/net/minecraft/server/EntityTurtle.java
+++ b/net/minecraft/server/EntityTurtle.java
-@@ -231,7 +231,9 @@
-
+@@ -232,7 +232,9 @@
protected void l() {
super.l();
-+ this.forceDrops = true; // CraftBukkit
- this.a((IMaterial) Items.SCUTE, 1);
-+ this.forceDrops = false; // CraftBukkit
- }
+ if (this.world.getGameRules().getBoolean("doMobLoot")) {
++ this.forceDrops = true; // CraftBukkit
+ this.a((IMaterial) Items.SCUTE, 1);
++ this.forceDrops = false; // CraftBukkit
+ }
- public void a(float f, float f1, float f2) {
-@@ -260,7 +262,9 @@
+ }
+@@ -263,7 +265,9 @@
}
public void onLightningStrike(EntityLightning entitylightning) {
@@ -20,7 +20,7 @@
}
public void die(DamageSource damagesource) {
-@@ -438,8 +442,12 @@
+@@ -441,8 +445,12 @@
} else if (this.f.bK > 200) {
World world = this.f.world;
@@ -32,4 +32,4 @@
+ // CraftBukkit end
this.f.s(false);
this.f.t(false);
- this.f.e(600);
+ this.f.d(600);