mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 12:19:48 +00:00
quick fix : Explicit type can be replaced with <>
This commit is contained in:
1 parent
7abe2f5182
commit
60f7add07f
55 files changed
+132
-132
No files matched your search
@@ -44,7 +44,7 @@ public class TPlayerStats
|
||||
}
|
||||
|
||||
public TPlayerStats(EntityPlayer entityplayer) {
|
||||
this.player = new WeakReference<EntityPlayer>(entityplayer);
|
||||
this.player = new WeakReference<>(entityplayer);
|
||||
this.armor = new ArmorExtended();
|
||||
this.armor.init(entityplayer);
|
||||
|
||||
@@ -85,7 +85,7 @@ public class TPlayerStats
|
||||
|
||||
@Override
|
||||
public void init(Entity entity, World world) {
|
||||
this.player = new WeakReference<EntityPlayer>((EntityPlayer) entity);
|
||||
this.player = new WeakReference<>((EntityPlayer) entity);
|
||||
this.armor.init((EntityPlayer) entity);
|
||||
this.knapsack.init((EntityPlayer) entity);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user