mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Java 7 and 8 cleanup
Diamond operator <> Lambdas and method references
This commit is contained in:
1 parent
3db03edbc9
commit
b72d6efab3
234 files changed
+1614
-2253
No files matched your search
@@ -91,11 +91,11 @@ public class ClientTickHandler
|
||||
public static final String DONATE_CAPE = "https://dl.dropboxusercontent.com/u/90411166/donate.png";
|
||||
public static final String AIDAN_CAPE = "https://dl.dropboxusercontent.com/u/90411166/aidan.png";
|
||||
|
||||
private Map<String, CapeBufferDownload> mikeDownload = new HashMap<String, CapeBufferDownload>();
|
||||
private Map<String, CapeBufferDownload> donateDownload = new HashMap<String, CapeBufferDownload>();
|
||||
private Map<String, CapeBufferDownload> aidanDownload = new HashMap<String, CapeBufferDownload>();
|
||||
private Map<String, CapeBufferDownload> mikeDownload = new HashMap<>();
|
||||
private Map<String, CapeBufferDownload> donateDownload = new HashMap<>();
|
||||
private Map<String, CapeBufferDownload> aidanDownload = new HashMap<>();
|
||||
|
||||
public static Set<IClientTicker> tickingSet = new HashSet<IClientTicker>();
|
||||
public static Set<IClientTicker> tickingSet = new HashSet<>();
|
||||
public static Map<EntityPlayer, TeleportData> portableTeleports = new HashMap<>();
|
||||
|
||||
public static int wheelStatus = 0;
|
||||
@@ -499,13 +499,7 @@ public class ClientTickHandler
|
||||
|
||||
public static void killDeadNetworks()
|
||||
{
|
||||
for(Iterator<IClientTicker> iter = tickingSet.iterator(); iter.hasNext();)
|
||||
{
|
||||
if(!iter.next().needsTicks())
|
||||
{
|
||||
iter.remove();
|
||||
}
|
||||
}
|
||||
tickingSet.removeIf(iClientTicker -> !iClientTicker.needsTicks());
|
||||
}
|
||||
|
||||
public static boolean isJetpackOn(EntityPlayer player)
|
||||
|
||||
Reference in new issue
Block a user