Work around for blocking rail duplication
This commit is contained in:
27
Spigot-Server-Patches/test.patch
Normal file
27
Spigot-Server-Patches/test.patch
Normal file
@@ -0,0 +1,27 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Zach Brown <1254957+zachbr@users.noreply.github.com>
|
||||
Date: Sun, 31 Aug 2014 12:24:10 -0500
|
||||
Subject: [PATCH] test
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/MobEffectAttackDamage.java b/src/main/java/net/minecraft/server/MobEffectAttackDamage.java
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/net/minecraft/server/MobEffectAttackDamage.java
|
||||
@@ -0,0 +0,0 @@
|
||||
+package net.minecraft.server;
|
||||
+
|
||||
+public class MobEffectAttackDamage extends MobEffectList {
|
||||
+
|
||||
+ protected MobEffectAttackDamage(int i, boolean flag, int j) {
|
||||
+ super(i, flag, j);
|
||||
+ }
|
||||
+
|
||||
+ public double a(int i, AttributeModifier attributemodifier) {
|
||||
+ return this.id == MobEffectList.WEAKNESS.id ? (double) (-0.5F * (float) (i + 1)) : 1.3D * (double) (i + 1);
|
||||
+ }
|
||||
+}
|
||||
--
|
||||
1.9.4.msysgit.1
|
||||
|
||||
Reference in New Issue
Block a user