mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-26 06:43:01 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eac7d41da2 | ||
|
|
bbb2858058 | ||
|
|
e1fffc8eb6 | ||
|
|
76e308bd70 | ||
|
|
5d6ef59f52 | ||
|
|
2c76ed22b6 | ||
|
|
f769825006 | ||
|
|
facfe682c5 | ||
|
|
8dba364e25 | ||
|
|
fd8e0dff3f | ||
|
|
731f565f30 | ||
|
|
8ee6a81a08 | ||
|
|
a8b75eb35a |
@@ -275,14 +275,14 @@ public class ItemElectricBootsTraveller extends ItemArmor
|
||||
|
||||
// Avoid NSM Exception when ThaumicBoots is not present.
|
||||
public double getSpeedModifier(ItemStack stack) {
|
||||
if (stack.stackTagCompound != null && stack.stackTagCompound.hasKey("speed")) {
|
||||
if (stack.stackTagCompound != null) {
|
||||
return stack.stackTagCompound.getDouble("speed");
|
||||
}
|
||||
return 1.0;
|
||||
}
|
||||
|
||||
public double getJumpModifier(ItemStack stack) {
|
||||
if (stack.stackTagCompound != null && stack.stackTagCompound.hasKey("jump")) {
|
||||
if (stack.stackTagCompound != null) {
|
||||
return stack.stackTagCompound.getDouble("jump");
|
||||
}
|
||||
return 1.0;
|
||||
|
||||
Reference in new issue
Block a user