Merge branch 'master' of github.com:SirSengir/BuildCraft
This commit is contained in:
commit
53cc613c9f
2 changed files with 274 additions and 271 deletions
|
@ -134,6 +134,9 @@ public class GuiAssemblyTable extends GuiAdvancedInterface {
|
||||||
if (position != -1) {
|
if (position != -1) {
|
||||||
RecipeSlot slot = (RecipeSlot) slots[position];
|
RecipeSlot slot = (RecipeSlot) slots[position];
|
||||||
|
|
||||||
|
if (slot.recipe == null)
|
||||||
|
return;
|
||||||
|
|
||||||
SelectionMessage message = new SelectionMessage();
|
SelectionMessage message = new SelectionMessage();
|
||||||
|
|
||||||
if (assemblyTable.isPlanned(slot.recipe)) {
|
if (assemblyTable.isPlanned(slot.recipe)) {
|
||||||
|
|
|
@ -164,7 +164,7 @@ public class TileLaser extends TileBuildCraft implements IPowerReceptor {
|
||||||
|
|
||||||
protected void createLaser() {
|
protected void createLaser() {
|
||||||
|
|
||||||
if (!APIProxy.isClient(worldObj))
|
if (APIProxy.isServerSide())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
laser = new EntityEnergyLaser(worldObj, new Position(xCoord, yCoord, zCoord), new Position(xCoord, yCoord, zCoord));
|
laser = new EntityEnergyLaser(worldObj, new Position(xCoord, yCoord, zCoord), new Position(xCoord, yCoord, zCoord));
|
||||||
|
|
Loading…
Reference in a new issue