Allow flint and steel fire in edit mode.
This commit is contained in:
@@ -281,6 +281,7 @@ public class ArenaListener
|
|||||||
|
|
||||||
switch (event.getCause()) {
|
switch (event.getCause()) {
|
||||||
case FLINT_AND_STEEL:
|
case FLINT_AND_STEEL:
|
||||||
|
if (arena.inEditMode()) return;
|
||||||
if (arena.isRunning()) {
|
if (arena.isRunning()) {
|
||||||
if (b.getType() == Material.TNT) {
|
if (b.getType() == Material.TNT) {
|
||||||
Player planter = getPlanter(b);
|
Player planter = getPlanter(b);
|
||||||
|
|||||||
Reference in New Issue
Block a user