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
@@ -15,7 +15,7 @@ import net.minecraft.world.World;
|
||||
|
||||
public class MultiblockManager<T extends SynchronizedData<T>>
|
||||
{
|
||||
private static Set<MultiblockManager> managers = new HashSet<>();
|
||||
private static Set<MultiblockManager<?>> managers = new HashSet<>();
|
||||
|
||||
public String name;
|
||||
|
||||
@@ -65,7 +65,7 @@ public class MultiblockManager<T extends SynchronizedData<T>>
|
||||
|
||||
public static void tick(World world)
|
||||
{
|
||||
for(MultiblockManager manager : managers)
|
||||
for(MultiblockManager<?> manager : managers)
|
||||
{
|
||||
manager.tickSelf(world);
|
||||
}
|
||||
@@ -148,7 +148,7 @@ public class MultiblockManager<T extends SynchronizedData<T>>
|
||||
|
||||
public static void reset()
|
||||
{
|
||||
for(MultiblockManager manager : managers)
|
||||
for(MultiblockManager<?> manager : managers)
|
||||
{
|
||||
manager.inventories.clear();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user