Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Ross Allan <rallanpcl@gmail.com>
  • Loading branch information
LunNova committed Jul 14, 2013
1 parent 8525c30 commit d7a66ad
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
21 changes: 14 additions & 7 deletions resources/patches.xml
Expand Up @@ -850,7 +850,8 @@
<replaceMethod code="{
gregtechmod.api.metatileentity.MetaTileEntity m = mMetaTileEntity;
return m != null &amp;&amp; m.getBaseMetaTileEntity() == this;
}">hasValidMetaTileEntity</replaceMethod>
}">hasValidMetaTileEntity
</replaceMethod>
</class>
<class id="gregtechmod.api.metatileentity.BaseMetaTileEntityMJ" srg="true">
<replaceMethod code="{
Expand All @@ -876,7 +877,8 @@
}
}
}
}">updateStatus</replaceMethod>
}">updateStatus
</replaceMethod>
<replaceMethod code="{
buildcraft.api.power.IPowerProvider powerProvider = getPowerProvider();
if (powerProvider == null) {
Expand Down Expand Up @@ -1480,11 +1482,13 @@
map.clear();
map.putAll(defaultMappings);
map.putAll(mappings);
}">load(Ljava.lang.String;)V</insertAfter>
}">load(Ljava.lang.String;)V
</insertAfter>
<unsynchronize>get</unsynchronize>
<replaceMethod code="{
return (String) map.get($1);
}">get</replaceMethod>
}">get
</replaceMethod>
</class>
</forestry>
<railCraft>
Expand Down Expand Up @@ -1616,7 +1620,8 @@
_inventory[$1] = item = new ^class:ItemStack^(_storedId, 1, _storedMeta);
_storedQuantity -= 1;
}
}">checkInput</replaceMethod>
}">checkInput
</replaceMethod>
</class>
</mineFactoryReloaded>
<xReliquary>
Expand All @@ -1631,7 +1636,8 @@
Redirects.notifyAdmins(&quot;Modified NotEnoughItems. Probably duping and/or in creative mode. Packet type &quot; + $1.getType());
return;
}
}">handlePacket</insertBefore>
}">handlePacket
</insertBefore>
</class>
</notEnoughItems>
<tubestuff>
Expand All @@ -1643,7 +1649,8 @@
if ($1 == null || $2 == null) {
return false;
}
}">areItemsEqual</insertBefore>
}">areItemsEqual
</insertBefore>
</class>
</tubestuff>
<mekanism>
Expand Down
Expand Up @@ -264,7 +264,6 @@ public void sendChunkUpdate() {
}
}
}

}
clearTileCount();
}
Expand Down
Expand Up @@ -80,7 +80,7 @@ private void profile(int ticks) {
}
}
this.threads = Longs.toArray(threads);
while (ticks --> 0) {
while (ticks-- > 0) {
long r = resolution - tick();

if (r > 0) {
Expand Down

0 comments on commit d7a66ad

Please sign in to comment.