mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-26 15:03:03 +00:00
Luminize Launcher and adaptation of the Luminizer code to work with any entity.
This commit is contained in:
1 parent
ae650dc65f
commit
005e860220
10 files changed
+95
-10
No files matched your search
@@ -40,7 +40,7 @@ public class BlockLightRelay extends BlockModContainer implements IWandable {
|
||||
|
||||
@Override
|
||||
public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int s, float xs, float ys, float zs) {
|
||||
((TileLightRelay) world.getTileEntity(x, y, z)).playerInteract(player);
|
||||
((TileLightRelay) world.getTileEntity(x, y, z)).mountEntity(player);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user