Compare commits
3 Commits
dffe6ce734
...
29ae948039
Author | SHA1 | Date |
---|---|---|
Timo Ley | 29ae948039 | |
Timo Ley | 23b53f0808 | |
Timo Ley | 992ba8a8b8 |
|
@ -1,6 +1,6 @@
|
|||
aeversion=rv3
|
||||
aechannel=beta
|
||||
aebuild=22
|
||||
aebuild=23
|
||||
aegroup=appeng
|
||||
aebasename=appliedenergistics2
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class AssemblerGridCache implements IAssemblerCache {
|
|||
public void onUpdateTick() {
|
||||
if (--this.cooldown > 0)
|
||||
return;
|
||||
this.cooldown = 20;
|
||||
this.cooldown = 15;
|
||||
|
||||
for (AssemblerCluster ac : assemblers.keySet()) {
|
||||
if (ac.isDestroyed) {
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
package dev.tilera.capes;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.net.URL;
|
||||
|
||||
import com.jadarstudios.developercapes.DevCapes;
|
||||
|
||||
import org.apache.commons.io.IOUtils;
|
||||
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
|
||||
public class Capes {
|
||||
|
@ -12,8 +17,12 @@ public class Capes {
|
|||
if (!capesInitialized) {
|
||||
capesInitialized = true;
|
||||
try {
|
||||
URL index = new URL("https://capes.tilera.xyz/devcapes/index");
|
||||
InputStream stream = DevCapes.getInstance().getStreamForURL(index);
|
||||
String capeConfig = IOUtils.toString(stream);
|
||||
stream.close();
|
||||
DevCapes.getInstance().registerConfig(
|
||||
"https://capes.tilera.xyz/devcapes.json"
|
||||
capeConfig
|
||||
);
|
||||
MinecraftForge.EVENT_BUS.register(new RenderEventHandler());
|
||||
} catch (Exception e) {
|
||||
|
|
Loading…
Reference in New Issue