mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 13:09:53 +00:00
quick fix : Explicit type can be replaced with <>
This commit is contained in:
1 parent
66ba36d6a0
commit
4dc089061c
55 files changed
+132
-132
No files matched your search
@@ -86,7 +86,7 @@ public class SlimeTallGrass extends BlockBush implements IShearable {
|
||||
|
||||
@Override
|
||||
public ArrayList<ItemStack> getDrops(World world, int x, int y, int z, int meta, int fortune) {
|
||||
ArrayList<ItemStack> ret = new ArrayList<ItemStack>();
|
||||
ArrayList<ItemStack> ret = new ArrayList<>();
|
||||
if (world.rand.nextInt(8) != 0) {
|
||||
return ret;
|
||||
}
|
||||
@@ -105,7 +105,7 @@ public class SlimeTallGrass extends BlockBush implements IShearable {
|
||||
|
||||
@Override
|
||||
public ArrayList<ItemStack> onSheared(ItemStack item, IBlockAccess world, int x, int y, int z, int fortune) {
|
||||
ArrayList<ItemStack> ret = new ArrayList<ItemStack>();
|
||||
ArrayList<ItemStack> ret = new ArrayList<>();
|
||||
ret.add(new ItemStack(this, 1, world.getBlockMetadata(x, y, z)));
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user