parent
1e1541a2e9
commit
8878ecc5f3
|
@ -1,14 +1,14 @@
|
||||||
From 1296736b591fdc5caadef00bfb17a026fb9d56e5 Mon Sep 17 00:00:00 2001
|
From 8df594dafa3d1db0eb68bdffcaa763b9e0c51072 Mon Sep 17 00:00:00 2001
|
||||||
From: kashike <kashike@vq.lc>
|
From: kashike <kashike@vq.lc>
|
||||||
Date: Thu, 3 Mar 2016 02:18:39 -0600
|
Date: Thu, 3 Mar 2016 02:18:39 -0600
|
||||||
Subject: [PATCH] Be a bit more informative in maxHealth exception
|
Subject: [PATCH] Be a bit more informative in maxHealth exception
|
||||||
|
|
||||||
|
|
||||||
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
|
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
|
||||||
index 58fbed1d3..c1af8ddbd 100644
|
index c00260f67..5520c707e 100644
|
||||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
|
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
|
||||||
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
|
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
|
||||||
@@ -93,7 +93,10 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
|
@@ -96,7 +96,10 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
|
||||||
public void setHealth(double health) {
|
public void setHealth(double health) {
|
||||||
health = (float) health;
|
health = (float) health;
|
||||||
if ((health < 0) || (health > getMaxHealth())) {
|
if ((health < 0) || (health > getMaxHealth())) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
From 0682a1c8a0a5f078c6d72d7035fe17a64e6316e2 Mon Sep 17 00:00:00 2001
|
From 73d194d5f867e136da9d1f67208185c63001a13d Mon Sep 17 00:00:00 2001
|
||||||
From: mrapple <tony@oc.tc>
|
From: mrapple <tony@oc.tc>
|
||||||
Date: Sun, 25 Nov 2012 13:43:39 -0600
|
Date: Sun, 25 Nov 2012 13:43:39 -0600
|
||||||
Subject: [PATCH] Add methods for working with arrows stuck in living entities
|
Subject: [PATCH] Add methods for working with arrows stuck in living entities
|
||||||
|
@ -22,10 +22,10 @@ index a2d476818..193dadf43 100644
|
||||||
this.datawatcher.set(EntityLiving.bq, Integer.valueOf(i));
|
this.datawatcher.set(EntityLiving.bq, Integer.valueOf(i));
|
||||||
}
|
}
|
||||||
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
|
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
|
||||||
index c1af8ddbd..392e72bb5 100644
|
index 5520c707e..eeb4f5b32 100644
|
||||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
|
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
|
||||||
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
|
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
|
||||||
@@ -560,4 +560,16 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
|
@@ -566,4 +566,16 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
|
||||||
public boolean isCollidable() {
|
public boolean isCollidable() {
|
||||||
return getHandle().collides;
|
return getHandle().collides;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
From aaca06a70159e5a8b8be8f71820311e886f10951 Mon Sep 17 00:00:00 2001
|
From 32280fdab148d7273e5b8c88550d52ef382940a6 Mon Sep 17 00:00:00 2001
|
||||||
From: Jedediah Smith <jedediah@silencegreys.com>
|
From: Jedediah Smith <jedediah@silencegreys.com>
|
||||||
Date: Sun, 19 Jul 2015 16:51:38 -0400
|
Date: Sun, 19 Jul 2015 16:51:38 -0400
|
||||||
Subject: [PATCH] Set health before death event
|
Subject: [PATCH] Set health before death event
|
||||||
|
@ -19,10 +19,10 @@ index 7da844e43..4103d4966 100644
|
||||||
+ }
|
+ }
|
||||||
}
|
}
|
||||||
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
|
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
|
||||||
index 392e72bb5..a7ca9a508 100644
|
index eeb4f5b32..b7e832f31 100644
|
||||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
|
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
|
||||||
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
|
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java
|
||||||
@@ -99,11 +99,20 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
|
@@ -102,11 +102,20 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
|
||||||
+ (this instanceof CraftPlayer ? ", player: " + this.getName() + ')' : ')'));
|
+ (this instanceof CraftPlayer ? ", player: " + this.getName() + ')' : ')'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
From 625eec111773732cf5214eefbed6db8c145687eb Mon Sep 17 00:00:00 2001
|
From 118950ef18b4a7c075dfeaa7c1a46b33b35564a3 Mon Sep 17 00:00:00 2001
|
||||||
From: Aikar <aikar@aikar.co>
|
From: Aikar <aikar@aikar.co>
|
||||||
Date: Thu, 29 Dec 2016 00:56:51 -0500
|
Date: Thu, 29 Dec 2016 00:56:51 -0500
|
||||||
Subject: [PATCH] Change Outdated Build Download URL to Paper CI
|
Subject: [PATCH] Change Outdated Build Download URL to Paper CI
|
||||||
|
|
||||||
|
|
||||||
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
|
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||||
index 4ac4e6fd3..3164e7130 100644
|
index 59d4e2e6f..e4ec213e4 100644
|
||||||
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
|
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||||
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
|
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||||
@@ -200,7 +200,7 @@ public class Main {
|
@@ -200,7 +200,7 @@ public class Main {
|
||||||
deadline.add(Calendar.DAY_OF_YEAR, -10);
|
deadline.add(Calendar.DAY_OF_YEAR, -14);
|
||||||
if (buildDate.before(deadline.getTime())) {
|
if (buildDate.before(deadline.getTime())) {
|
||||||
System.err.println("*** Error, this build is outdated ***");
|
System.err.println("*** Error, this build is outdated ***");
|
||||||
- System.err.println("*** Please download a new build as per instructions from https://www.spigotmc.org/ ***");
|
- System.err.println("*** Please download a new build as per instructions from https://www.spigotmc.org/ ***");
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit c1aa85918e6683fa0d8677feb733ba8743c40502
|
Subproject commit a1d3777d890b6a9ae20b9450c2af9b373e4d3575
|
Loading…
Reference in New Issue