Skip to content

Commit

Permalink
World now has constructor argument support for Block and Entity
Browse files Browse the repository at this point in the history
  • Loading branch information
calclavia committed May 5, 2015
1 parent 6fc4981 commit 16b0293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/nova/sample/block/BlockGrinder.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public boolean onRightClick(Entity entity, int side, Vector3d hit) {
angle = (angle + Math.PI / 12) % (Math.PI * 2);
Game.instance.networkManager.sync(this);
}
world().createEntity(NovaTest.movableSimpleTestFactory).setPosition(entity.position());
world().addEntity(NovaTest.movableSimpleTestFactory).setPosition(entity.position());
return true;
}

Expand Down

0 comments on commit 16b0293

Please sign in to comment.