mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-21 20:52:14 +00:00
Cleanup
This commit is contained in:
1 parent
82e04a415e
commit
3438b5cb9a
34 files changed
+31
-138
No files matched your search
@@ -1,6 +1,5 @@
|
||||
package mcp.mobius.opis.data.profilers;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.WeakHashMap;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
@@ -38,7 +37,7 @@ public class ProfilerEntityUpdate extends ProfilerAbstract implements IProfilerB
|
||||
|
||||
clock.stop();
|
||||
try{
|
||||
data.get(entity).addValue((double)clock.getDelta());
|
||||
data.get(entity).addValue(clock.getDelta());
|
||||
} catch (Exception e){
|
||||
modOpis.log.warning(String.format("Error while profiling entity %s\n", key));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user