Updated dependencies to latest
This commit is contained in:
parent
40282d41dd
commit
11e67233ca
6 changed files with 5 additions and 6 deletions
Binary file not shown.
BIN
eclipse/mods/CodeChickenCore-1.7.10-1.0.6.43-universal.jar
Normal file
BIN
eclipse/mods/CodeChickenCore-1.7.10-1.0.6.43-universal.jar
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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));
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue