Browse Source

Fixed Chainsaw Durability Loss when Treecapitating

Gregorius Techneticies 3 months ago
parent
commit
46564468fe
Signed by: Gregorius Techneticies <gregoriustech@gmail.com> GPG Key ID: 1B693EA14F2FD70F
2 changed files with 2 additions and 27 deletions
  1. 1
    1
      CHANGELOG.md
  2. 1
    26
      src/main/java/gregtech/items/tools/electric/GT_Tool_Chainsaw_LV.java

+ 1
- 1
CHANGELOG.md View File

@@ -10,7 +10,7 @@ Nothing (I tend to only add finished Stuff to the Changelog).
10 10
 
11 11
 
12 12
 6.14.09: (Not released yet, happens whenever a Bugfix needs to be released, Bear is still testing GT6, while I'm working on my Game)
13
-Nothing (I tend to only add finished Stuff to the Changelog).
13
+[FIXED] Chainsaws used WAY too much durability for Treecapitation!
14 14
 
15 15
 
16 16
 6.14.08:

+ 1
- 26
src/main/java/gregtech/items/tools/electric/GT_Tool_Chainsaw_LV.java View File

@@ -1,5 +1,5 @@
1 1
 /**
2
- * Copyright (c) 2020 GregTech-6 Team
2
+ * Copyright (c) 2021 GregTech-6 Team
3 3
  *
4 4
  * This file is part of GregTech.
5 5
  *
@@ -49,16 +49,6 @@ import net.minecraftforge.common.IShearable;
49 49
 import net.minecraftforge.event.world.BlockEvent;
50 50
 
51 51
 public class GT_Tool_Chainsaw_LV extends GT_Tool_Axe {
52
-	@Override
53
-	public int getToolDamagePerBlockBreak() {
54
-		return 50;
55
-	}
56
-	
57
-	@Override
58
-	public int getToolDamagePerDropConversion() {
59
-		return 5;
60
-	}
61
-	
62 52
 	@Override
63 53
 	public int getToolDamagePerContainerCraft() {
64 54
 		return 200;
@@ -93,26 +83,11 @@ public class GT_Tool_Chainsaw_LV extends GT_Tool_Axe {
93 83
 		return super.getDamageSource(aPlayer, aEntity);
94 84
 	}
95 85
 	
96
-	@Override
97
-	public int getBaseQuality() {
98
-		return 0;
99
-	}
100
-	
101
-	@Override
102
-	public float getBaseDamage() {
103
-		return 3.0F;
104
-	}
105
-	
106 86
 	@Override
107 87
 	public float getSpeedMultiplier() {
108 88
 		return 2.0F;
109 89
 	}
110 90
 	
111
-	@Override
112
-	public float getMaxDurabilityMultiplier() {
113
-		return 1.0F;
114
-	}
115
-	
116 91
 	@Override
117 92
 	public String getCraftingSound() {
118 93
 		return SFX.IC_CHAINSAW_01;

Loading…
Cancel
Save