@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/world/damagesource/DamageSource.java
|
||||
+++ b/net/minecraft/world/damagesource/DamageSource.java
|
||||
@@ -52,6 +52,18 @@
|
||||
@@ -49,6 +49,18 @@
|
||||
private boolean isFall;
|
||||
private boolean noAggro;
|
||||
public final String msgId;
|
||||
@@ -17,5 +17,5 @@
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
|
||||
public static DamageSource sting(EntityLiving entityliving) {
|
||||
return new EntityDamageSource("sting", entityliving);
|
||||
public static DamageSource fallingBlock(Entity entity) {
|
||||
return (new EntityDamageSource("fallingBlock", entity)).damageHelmet();
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
--- a/net/minecraft/world/damagesource/EntityDamageSourceIndirect.java
|
||||
+++ b/net/minecraft/world/damagesource/EntityDamageSourceIndirect.java
|
||||
@@ -37,4 +37,10 @@
|
||||
|
||||
return !itemstack.isEmpty() && itemstack.hasCustomHoverName() ? IChatBaseComponent.translatable(s1, entityliving.getDisplayName(), ichatbasecomponent, itemstack.getDisplayName()) : IChatBaseComponent.translatable(s, entityliving.getDisplayName(), ichatbasecomponent);
|
||||
@@ -53,4 +53,10 @@
|
||||
return IChatBaseComponent.translatable(s, entityliving.getDisplayName(), ichatbasecomponent);
|
||||
}
|
||||
}
|
||||
+
|
||||
+ // CraftBukkit start
|
||||
|
||||
Reference in New Issue
Block a user