Make bouncing block red wool traps less strict when player walks on them.
This commit is contained in:
parent
dcff689faf
commit
fcc1cd46a5
@ -208,39 +208,39 @@ public class MineWare extends SoloGame implements IThrown
|
||||
|
||||
public void PopulateOrders()
|
||||
{
|
||||
_challenges.add(ChallengeAnvilDance.class);
|
||||
_challenges.add(ChallengeArrowRampage.class);
|
||||
_challenges.add(ChallengeBlockLobbers.class);
|
||||
// _challenges.add(ChallengeAnvilDance.class);
|
||||
// _challenges.add(ChallengeArrowRampage.class);
|
||||
// _challenges.add(ChallengeBlockLobbers.class);
|
||||
_challenges.add(ChallengeBouncingBlock.class);
|
||||
_challenges.add(ChallengeBuildRace.class);
|
||||
_challenges.add(ChallengeChestLoot.class);
|
||||
_challenges.add(ChallengeCloudFall.class);
|
||||
_challenges.add(ChallengeDogvsCat.class);
|
||||
_challenges.add(ChallengeDragonEgg.class);
|
||||
_challenges.add(ChallengeFallingBlocks.class);
|
||||
_challenges.add(ChallengeFastFood.class);
|
||||
_challenges.add(ChallengeFishingDay.class);
|
||||
_challenges.add(ChallengeInfestation.class);
|
||||
_challenges.add(ChallengeKangarooJump.class);
|
||||
_challenges.add(ChallengeKOTL.class);
|
||||
_challenges.add(ChallengeLavaRun.class);
|
||||
_challenges.add(ChallengeMilkACow.class);
|
||||
_challenges.add(ChallengeMineADiamond.class);
|
||||
_challenges.add(ChallengeMinecartDance.class);
|
||||
_challenges.add(ChallengeMiniOITQ.class);
|
||||
_challenges.add(ChallengeNavigateMaze.class);
|
||||
_challenges.add(ChallengePickASide.class);
|
||||
_challenges.add(ChallengePunchThePig.class);
|
||||
_challenges.add(ChallengeRedLightGreenLight.class);
|
||||
_challenges.add(ChallengeReverseTag.class);
|
||||
_challenges.add(ChallengeRushPush.class);
|
||||
_challenges.add(ChallengeShootChickens.class);
|
||||
_challenges.add(ChallengeSmashOff.class);
|
||||
_challenges.add(ChallengeStandOnColor.class);
|
||||
_challenges.add(ChallengeTntLauncher.class);
|
||||
_challenges.add(ChallengeTreasureDigger.class);
|
||||
_challenges.add(ChallengeVolleyPig.class);
|
||||
_challenges.add(ChallengeWaveCrush.class);
|
||||
// _challenges.add(ChallengeBuildRace.class);
|
||||
// _challenges.add(ChallengeChestLoot.class);
|
||||
// _challenges.add(ChallengeCloudFall.class);
|
||||
// _challenges.add(ChallengeDogvsCat.class);
|
||||
// _challenges.add(ChallengeDragonEgg.class);
|
||||
// _challenges.add(ChallengeFallingBlocks.class);
|
||||
// _challenges.add(ChallengeFastFood.class);
|
||||
// _challenges.add(ChallengeFishingDay.class);
|
||||
// _challenges.add(ChallengeInfestation.class);
|
||||
// _challenges.add(ChallengeKangarooJump.class);
|
||||
// _challenges.add(ChallengeKOTL.class);
|
||||
// _challenges.add(ChallengeLavaRun.class);
|
||||
// _challenges.add(ChallengeMilkACow.class);
|
||||
// _challenges.add(ChallengeMineADiamond.class);
|
||||
// _challenges.add(ChallengeMinecartDance.class);
|
||||
// _challenges.add(ChallengeMiniOITQ.class);
|
||||
// _challenges.add(ChallengeNavigateMaze.class);
|
||||
// _challenges.add(ChallengePickASide.class);
|
||||
// _challenges.add(ChallengePunchThePig.class);
|
||||
// _challenges.add(ChallengeRedLightGreenLight.class);
|
||||
// _challenges.add(ChallengeReverseTag.class);
|
||||
// _challenges.add(ChallengeRushPush.class);
|
||||
// _challenges.add(ChallengeShootChickens.class);
|
||||
// _challenges.add(ChallengeSmashOff.class);
|
||||
// _challenges.add(ChallengeStandOnColor.class);
|
||||
// _challenges.add(ChallengeTntLauncher.class);
|
||||
// _challenges.add(ChallengeTreasureDigger.class);
|
||||
// _challenges.add(ChallengeVolleyPig.class);
|
||||
// _challenges.add(ChallengeWaveCrush.class);
|
||||
|
||||
// ============== trashed ==============
|
||||
// _challenges.add(ChallengeSimonSays.class);
|
||||
|
@ -175,19 +175,19 @@ public class ChallengeBouncingBlock extends Challenge
|
||||
if (isDone(player))
|
||||
return;
|
||||
|
||||
if (event.getFrom().getX() == event.getTo().getX() || event.getFrom().getZ() == event.getTo().getZ())
|
||||
if (event.getFrom().getX() == event.getTo().getX() && event.getFrom().getZ() == event.getTo().getZ())
|
||||
return;
|
||||
|
||||
Location loc = player.getLocation();
|
||||
Block blockBelow = loc.getBlock().getRelative(BlockFace.DOWN);
|
||||
|
||||
if (blockBelow.getType() == Material.WOOL)
|
||||
if (Recharge.Instance.use(player, "Movement", 300, false, false) && _playerScore.get(player) > 0)
|
||||
{
|
||||
Wool woolBelow = (Wool) blockBelow.getState().getData();
|
||||
|
||||
if (woolBelow.getColor() == DyeColor.RED)
|
||||
if (blockBelow.getType() == Material.WOOL)
|
||||
{
|
||||
if (Recharge.Instance.use(player, "Red Wool", 300, false, false) && _playerScore.get(player) > 0)
|
||||
Wool woolBelow = (Wool) blockBelow.getState().getData();
|
||||
|
||||
if (woolBelow.getColor() == DyeColor.RED)
|
||||
{
|
||||
int subtract = 2;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user