Resolve raw type warnings (#1516)

Also very small optimization to hopper counters and removal of redundant casts in `PerimeterDiagnostics`
This commit is contained in:
altrisi authored and GitHub committed 2022-07-29 13:12:09 +02:00
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));