mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
quick fix : Explicit type can be replaced with <>
This commit is contained in:
1 parent
7abe2f5182
commit
60f7add07f
55 files changed
+132
-132
No files matched your search
@@ -93,7 +93,7 @@ public abstract class HarvestTool extends ToolCore {
|
||||
|
||||
@Override
|
||||
public Set<String> getToolClasses(ItemStack stack) {
|
||||
Set<String> set = new HashSet<String>();
|
||||
Set<String> set = new HashSet<>();
|
||||
|
||||
if (stack != null && stack.getItem() instanceof HarvestTool) {
|
||||
set.add(((HarvestTool) stack.getItem()).getHarvestType());
|
||||
|
||||
Reference in new issue
Block a user