Only rebuild patterns on the server, #340
This commit is contained in:
@@ -47,7 +47,7 @@ public class TileCrafter extends TileNode implements ICraftingPatternContainer {
|
|||||||
protected void onContentsChanged(int slot) {
|
protected void onContentsChanged(int slot) {
|
||||||
super.onContentsChanged(slot);
|
super.onContentsChanged(slot);
|
||||||
|
|
||||||
if (worldObj != null) {
|
if (worldObj != null && !worldObj.isRemote) {
|
||||||
rebuildPatterns();
|
rebuildPatterns();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user