mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-26 06:43:01 +00:00
[ci skip] spotlessApply with the new settings
This commit is contained in:
1 parent
c312069d28
commit
6bdb2c0b96
100 files changed
+3171
-3401
No files matched your search
@@ -1,11 +1,12 @@
|
||||
package emt.item;
|
||||
|
||||
import emt.EMT;
|
||||
import emt.util.EMTTextHelper;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.StatCollector;
|
||||
|
||||
import emt.EMT;
|
||||
import emt.util.EMTTextHelper;
|
||||
|
||||
public class ItemBase extends Item {
|
||||
|
||||
public ItemBase(String unlocName, String textureName) {
|
||||
@@ -23,7 +24,6 @@ public class ItemBase extends Item {
|
||||
|
||||
public String getItemStackDisplayName(ItemStack stack) {
|
||||
return (EMTTextHelper.GREEN
|
||||
+ StatCollector.translateToLocal(this.getUnlocalizedNameInefficiently(stack) + ".name"))
|
||||
.trim();
|
||||
+ StatCollector.translateToLocal(this.getUnlocalizedNameInefficiently(stack) + ".name")).trim();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user