Explosions crack carved stone brick
This commit is contained in:
parent
1bf1f04d53
commit
b720a6433c
@ -110,7 +110,7 @@ public class Explosion extends MiniPlugin
|
|||||||
|
|
||||||
if (!_regenerateGround)
|
if (!_regenerateGround)
|
||||||
{
|
{
|
||||||
if (cur.getTypeId() != 98 || cur.getData() != 0)
|
if (cur.getTypeId() != 98 || cur.getData() != 0 || cur.getData() != 3)
|
||||||
cur.setTypeId(0);
|
cur.setTypeId(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -136,7 +136,7 @@ public class Explosion extends MiniPlugin
|
|||||||
for (Block cur : blocks.keySet())
|
for (Block cur : blocks.keySet())
|
||||||
{
|
{
|
||||||
if (blocks.get(cur).getKey() == 98)
|
if (blocks.get(cur).getKey() == 98)
|
||||||
if (blocks.get(cur).getValue() == 0)
|
if (blocks.get(cur).getValue() == 0 || blocks.get(cur).getValue() == 3)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
//TNT
|
//TNT
|
||||||
@ -184,7 +184,7 @@ public class Explosion extends MiniPlugin
|
|||||||
//Crack
|
//Crack
|
||||||
for (Block cur : UtilBlock.getInRadius(fLoc, 4d).keySet())
|
for (Block cur : UtilBlock.getInRadius(fLoc, 4d).keySet())
|
||||||
if (cur.getTypeId() == 98)
|
if (cur.getTypeId() == 98)
|
||||||
if (cur.getData() == 0)
|
if (cur.getData() == 0 || cur.getData() == 3)
|
||||||
cur.setTypeIdAndData(98, (byte)2, true);
|
cur.setTypeIdAndData(98, (byte)2, true);
|
||||||
}
|
}
|
||||||
}, 1);
|
}, 1);
|
||||||
@ -310,7 +310,7 @@ public class Explosion extends MiniPlugin
|
|||||||
for (Block cur : blocks.keySet())
|
for (Block cur : blocks.keySet())
|
||||||
{
|
{
|
||||||
if (blocks.get(cur).getKey() == 98)
|
if (blocks.get(cur).getKey() == 98)
|
||||||
if (blocks.get(cur).getValue() == 0)
|
if (blocks.get(cur).getValue() == 0 || blocks.get(cur).getValue() == 3)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
double chance = 0.2 + (double)_explosionBlocks.size()/(double)120;
|
double chance = 0.2 + (double)_explosionBlocks.size()/(double)120;
|
||||||
|
@ -19,7 +19,7 @@ public class ChampionsDominate extends Domination
|
|||||||
public ChampionsDominate(ArcadeManager manager)
|
public ChampionsDominate(ArcadeManager manager)
|
||||||
{
|
{
|
||||||
super(manager, GameType.ChampionsDominate,
|
super(manager, GameType.ChampionsDominate,
|
||||||
|
|
||||||
new Kit[]
|
new Kit[]
|
||||||
{
|
{
|
||||||
new KitBrute(manager),
|
new KitBrute(manager),
|
||||||
|
Loading…
Reference in New Issue
Block a user