mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Fix several type-safety issues
This commit is contained in:
1 parent
2c4c997e02
commit
b0bbf5cb68
38 files changed
+69
-68
No files matched your search
@@ -207,7 +207,7 @@ public class PacketHandler
|
||||
}
|
||||
else if(data instanceof ArrayList)
|
||||
{
|
||||
encode(((ArrayList)data).toArray(), output);
|
||||
encode(((ArrayList<?>)data).toArray(), output);
|
||||
}
|
||||
else {
|
||||
throw new RuntimeException("Un-encodable data passed to encode(): " + data + ", full data: " + Arrays.toString(dataValues));
|
||||
|
||||
Reference in new issue
Block a user