This commit is contained in:
eaglercraft 2024-03-06 19:04:31 -08:00
parent ae5f006afe
commit af50d17c9a
2 changed files with 4 additions and 5 deletions

View File

@ -10,7 +10,7 @@ public class EaglercraftVersion {
/// Customize these to fit your fork: /// Customize these to fit your fork:
public static final String projectForkName = "EaglercraftX"; public static final String projectForkName = "EaglercraftX";
public static final String projectForkVersion = "u25"; public static final String projectForkVersion = "u26";
public static final String projectForkVendor = "lax1dude"; public static final String projectForkVendor = "lax1dude";
public static final String projectForkURL = "https://gitlab.com/lax1dude/eaglercraftx-1.8"; public static final String projectForkURL = "https://gitlab.com/lax1dude/eaglercraftx-1.8";
@ -20,7 +20,7 @@ public class EaglercraftVersion {
public static final String projectOriginName = "EaglercraftX"; public static final String projectOriginName = "EaglercraftX";
public static final String projectOriginAuthor = "lax1dude"; public static final String projectOriginAuthor = "lax1dude";
public static final String projectOriginRevision = "1.8"; public static final String projectOriginRevision = "1.8";
public static final String projectOriginVersion = "u25"; public static final String projectOriginVersion = "u26";
public static final String projectOriginURL = "https://gitlab.com/lax1dude/eaglercraftx-1.8"; // rest in peace public static final String projectOriginURL = "https://gitlab.com/lax1dude/eaglercraftx-1.8"; // rest in peace
@ -31,7 +31,7 @@ public class EaglercraftVersion {
public static final boolean enableUpdateService = true; public static final boolean enableUpdateService = true;
public static final String updateBundlePackageName = "net.lax1dude.eaglercraft.v1_8.client"; public static final String updateBundlePackageName = "net.lax1dude.eaglercraft.v1_8.client";
public static final int updateBundlePackageVersionInt = 25; public static final int updateBundlePackageVersionInt = 26;
public static final String updateLatestLocalStorageKey = "latestUpdate_" + updateBundlePackageName; public static final String updateLatestLocalStorageKey = "latestUpdate_" + updateBundlePackageName;

View File

@ -96,7 +96,6 @@ public class BlockSponge extends Block {
linkedlist.add(new Tuple(pos, Integer.valueOf(0))); linkedlist.add(new Tuple(pos, Integer.valueOf(0)));
int i = 0; int i = 0;
BlockPos tmp = new BlockPos(0, 0, 0);
while (!linkedlist.isEmpty()) { while (!linkedlist.isEmpty()) {
Tuple tuple = (Tuple) linkedlist.poll(); Tuple tuple = (Tuple) linkedlist.poll();
BlockPos blockpos = (BlockPos) tuple.getFirst(); BlockPos blockpos = (BlockPos) tuple.getFirst();
@ -105,7 +104,7 @@ public class BlockSponge extends Block {
EnumFacing[] facings = EnumFacing._VALUES; EnumFacing[] facings = EnumFacing._VALUES;
for (int k = 0; k < facings.length; ++k) { for (int k = 0; k < facings.length; ++k) {
EnumFacing enumfacing = facings[k]; EnumFacing enumfacing = facings[k];
BlockPos blockpos1 = blockpos.offsetEvenFaster(enumfacing, tmp); BlockPos blockpos1 = blockpos.offset(enumfacing);
if (worldIn.getBlockState(blockpos1).getBlock().getMaterial() == Material.water) { if (worldIn.getBlockState(blockpos1).getBlock().getMaterial() == Material.water) {
worldIn.setBlockState(blockpos1, Blocks.air.getDefaultState(), 2); worldIn.setBlockState(blockpos1, Blocks.air.getDefaultState(), 2);
arraylist.add(blockpos1); arraylist.add(blockpos1);