Updated dependencies to latest

This commit is contained in:
LemADEC 2015-08-15 01:44:59 +02:00
parent 40282d41dd
commit 11e67233ca
6 changed files with 5 additions and 6 deletions

View file

@ -42,11 +42,11 @@ public class SpaceEventHandler {
}
@SubscribeEvent
public void livingUpdate(LivingUpdateEvent event) {
public void onLivingUpdate(LivingUpdateEvent event) {
if (FMLCommonHandler.instance().getEffectiveSide().isClient()) {
return;
}
EntityLivingBase entity = event.entityLiving;
int x = MathHelper.floor_double(entity.posX);
int y = MathHelper.floor_double(entity.posY);
@ -79,8 +79,8 @@ public class SpaceEventHandler {
}
// If entity is in vacuum, check and start consuming air cells
if (entity.worldObj.provider.dimensionId == WarpDriveConfig.G_SPACE_DIMENSION_ID
|| entity.worldObj.provider.dimensionId == WarpDriveConfig.G_HYPERSPACE_DIMENSION_ID) {
if ( entity.worldObj.provider.dimensionId == WarpDriveConfig.G_SPACE_DIMENSION_ID
|| entity.worldObj.provider.dimensionId == WarpDriveConfig.G_HYPERSPACE_DIMENSION_ID) {
Block block1 = entity.worldObj.getBlock(x, y, z);
Block block2 = entity.worldObj.getBlock(x, y + 1, z);
boolean inVacuum = (!block1.isAssociatedBlock(WarpDrive.blockAir) && !block2.isAssociatedBlock(WarpDrive.blockAir));

View file

@ -72,8 +72,7 @@ public class TileEntityLaser extends TileEntityAbstractInterfaced {
super.updateEntity();
if (isWithCamera()) {
// Update frequency on clients (recovery mechanism, no need to go
// too fast)
// Update frequency on clients (recovery mechanism, no need to go too fast)
if (FMLCommonHandler.instance().getEffectiveSide().isServer()) {
packetSendTicks--;
if (packetSendTicks <= 0) {