Explosions crack carved stone brick

This commit is contained in:
Chiss 2014-04-19 15:10:30 +10:00
parent 1bf1f04d53
commit b720a6433c
2 changed files with 5 additions and 5 deletions

View File

@ -110,7 +110,7 @@ public class Explosion extends MiniPlugin
if (!_regenerateGround)
{
if (cur.getTypeId() != 98 || cur.getData() != 0)
if (cur.getTypeId() != 98 || cur.getData() != 0 || cur.getData() != 3)
cur.setTypeId(0);
}
@ -136,7 +136,7 @@ public class Explosion extends MiniPlugin
for (Block cur : blocks.keySet())
{
if (blocks.get(cur).getKey() == 98)
if (blocks.get(cur).getValue() == 0)
if (blocks.get(cur).getValue() == 0 || blocks.get(cur).getValue() == 3)
continue;
//TNT
@ -184,7 +184,7 @@ public class Explosion extends MiniPlugin
//Crack
for (Block cur : UtilBlock.getInRadius(fLoc, 4d).keySet())
if (cur.getTypeId() == 98)
if (cur.getData() == 0)
if (cur.getData() == 0 || cur.getData() == 3)
cur.setTypeIdAndData(98, (byte)2, true);
}
}, 1);
@ -310,7 +310,7 @@ public class Explosion extends MiniPlugin
for (Block cur : blocks.keySet())
{
if (blocks.get(cur).getKey() == 98)
if (blocks.get(cur).getValue() == 0)
if (blocks.get(cur).getValue() == 0 || blocks.get(cur).getValue() == 3)
continue;
double chance = 0.2 + (double)_explosionBlocks.size()/(double)120;

View File

@ -19,7 +19,7 @@ public class ChampionsDominate extends Domination
public ChampionsDominate(ArcadeManager manager)
{
super(manager, GameType.ChampionsDominate,
new Kit[]
{
new KitBrute(manager),