Fixed WaterArms Flooding

This commit is contained in:
jedk1 2015-06-07 01:31:44 +01:00
parent 9954ab2c17
commit 756c5f33a8
3 changed files with 6 additions and 6 deletions

View file

@ -249,7 +249,7 @@ public class WaterArms {
if (!canPlaceBlock(r2.getBlock())) if (!canPlaceBlock(r2.getBlock()))
return false; return false;
new TempBlock(r2.getBlock(), Material.STATIONARY_WATER, (byte) 0); new TempBlock(r2.getBlock(), Material.STATIONARY_WATER, (byte) 8);
revert.put(r2.getBlock(), 0L); revert.put(r2.getBlock(), 0L);
for (int j = 0; j <= initLength; j++) { for (int j = 0; j <= initLength; j++) {
@ -271,7 +271,7 @@ public class WaterArms {
revert.put(r3.getBlock(), 0L); revert.put(r3.getBlock(), 0L);
} else { } else {
new TempBlock(r3.getBlock(), Material.STATIONARY_WATER, new TempBlock(r3.getBlock(), Material.STATIONARY_WATER,
(byte) 0); (byte) 8);
revert.put(r3.getBlock(), 0L); revert.put(r3.getBlock(), 0L);
} }
} }
@ -305,7 +305,7 @@ public class WaterArms {
if (!canPlaceBlock(l2.getBlock())) if (!canPlaceBlock(l2.getBlock()))
return false; return false;
new TempBlock(l2.getBlock(), Material.STATIONARY_WATER, (byte) 0); new TempBlock(l2.getBlock(), Material.STATIONARY_WATER, (byte) 8);
revert.put(l2.getBlock(), 0L); revert.put(l2.getBlock(), 0L);
for (int j = 0; j <= initLength; j++) { for (int j = 0; j <= initLength; j++) {
@ -327,7 +327,7 @@ public class WaterArms {
revert.put(l3.getBlock(), 0L); revert.put(l3.getBlock(), 0L);
} else { } else {
new TempBlock(l3.getBlock(), Material.STATIONARY_WATER, new TempBlock(l3.getBlock(), Material.STATIONARY_WATER,
(byte) 0); (byte) 8);
revert.put(l3.getBlock(), 0L); revert.put(l3.getBlock(), 0L);
} }
} }

View file

@ -213,7 +213,7 @@ public class WaterArmsSpear {
} }
} }
new TempBlock(location.getBlock(), Material.STATIONARY_WATER, new TempBlock(location.getBlock(), Material.STATIONARY_WATER,
(byte) 0); (byte) 8);
WaterArms.revert.put(location.getBlock(), WaterArms.revert.put(location.getBlock(),
System.currentTimeMillis() + 600L); System.currentTimeMillis() + 600L);
Vector direction = GeneralMethods.getDirection( Vector direction = GeneralMethods.getDirection(

View file

@ -277,7 +277,7 @@ public class WaterArmsWhip {
} }
new TempBlock(l2.getBlock(), Material.STATIONARY_WATER, new TempBlock(l2.getBlock(), Material.STATIONARY_WATER,
(byte) 0); (byte) 8);
WaterArms.revert.put(l2.getBlock(), 0L); WaterArms.revert.put(l2.getBlock(), 0L);
if (i == activeLength) { if (i == activeLength) {