diff options
author | Jordan Byrne <draknyte1@hotmail.com> | 2018-02-21 14:38:10 +1000 |
---|---|---|
committer | Jordan Byrne <draknyte1@hotmail.com> | 2018-02-21 14:38:10 +1000 |
commit | 5d15dce9293f7c37089be3adfe0768de425838e2 (patch) | |
tree | 85e8146541b0ca71133c0b78fc36f657b5133f19 /src/Java/gtPlusPlus/api/damage/BaseCustomDamageSource.java | |
parent | ed93e5e83a08a2312452366f646cb3dd86fa039e (diff) | |
download | GT5-Unofficial-5d15dce9293f7c37089be3adfe0768de425838e2.tar.gz GT5-Unofficial-5d15dce9293f7c37089be3adfe0768de425838e2.tar.bz2 GT5-Unofficial-5d15dce9293f7c37089be3adfe0768de425838e2.zip |
$ Tree Farmer Work.
% Package cleanup.
- Removed /Bed command.
Diffstat (limited to 'src/Java/gtPlusPlus/api/damage/BaseCustomDamageSource.java')
-rw-r--r-- | src/Java/gtPlusPlus/api/damage/BaseCustomDamageSource.java | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/Java/gtPlusPlus/api/damage/BaseCustomDamageSource.java b/src/Java/gtPlusPlus/api/damage/BaseCustomDamageSource.java deleted file mode 100644 index 24348988d6..0000000000 --- a/src/Java/gtPlusPlus/api/damage/BaseCustomDamageSource.java +++ /dev/null @@ -1,22 +0,0 @@ -package gtPlusPlus.api.damage; - -import net.minecraft.entity.Entity; -import net.minecraft.util.EntityDamageSourceIndirect; - -public class BaseCustomDamageSource extends EntityDamageSourceIndirect { - - public BaseCustomDamageSource(String name, Entity transmitter, Entity indirectSource) { - super(name, transmitter, indirectSource); - this.setDifficultyScaled(); - } - - /** - * Return whether this damage source will have its damage amount scaled based on the current difficulty. - */ - public boolean isDifficultyScaled() - { - return true; - } - - -}
\ No newline at end of file |