Resolve raw type warnings (#1516)
Also very small optimization to hopper counters and removal of redundant casts in `PerimeterDiagnostics`
This commit is contained in:
1 parent
be3c7f267c
commit
8f7e45387e
7 files changed
+17
-17
No files matched your search
@@ -373,7 +373,7 @@ public class NBTSerializableValue extends Value implements ContainerValueInterfa
|
||||
if (t instanceof CollectionTag)
|
||||
{
|
||||
List<Value> elems = new ArrayList<>();
|
||||
CollectionTag<? extends Tag> ltag = (CollectionTag<? extends Tag>)t;
|
||||
CollectionTag<?> ltag = (CollectionTag<?>)t;
|
||||
for (Tag elem: ltag)
|
||||
{
|
||||
elems.add(decodeTagDeep(elem));
|
||||
|
||||
Reference in new issue
Block a user