mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 14:46:46 +01:00
2.1.222
This commit is contained in:
parent
78596dc00e
commit
24a57fab3d
@ -1,4 +1,5 @@
|
|||||||
Version 2.1.222
|
Version 2.1.222
|
||||||
|
Fixed dupe exploit
|
||||||
Glow Lichen default XP changed from 200 to 5
|
Glow Lichen default XP changed from 200 to 5
|
||||||
A lot of mcMMO logging was moved from INFO to DEBUG, this should reduce the amount of noise in your logs and console
|
A lot of mcMMO logging was moved from INFO to DEBUG, this should reduce the amount of noise in your logs and console
|
||||||
|
|
||||||
|
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
<groupId>com.gmail.nossr50.mcMMO</groupId>
|
||||||
<artifactId>mcMMO</artifactId>
|
<artifactId>mcMMO</artifactId>
|
||||||
<version>2.1.222-SNAPSHOT</version>
|
<version>2.1.222</version>
|
||||||
<name>mcMMO</name>
|
<name>mcMMO</name>
|
||||||
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
<url>https://github.com/mcMMO-Dev/mcMMO</url>
|
||||||
<scm>
|
<scm>
|
||||||
|
@ -134,15 +134,16 @@ public class BlockListener implements Listener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
BlockFace direction = event.getDirection();
|
final BlockFace direction = event.getDirection();
|
||||||
Block movedBlock;
|
|
||||||
for (Block block : event.getBlocks()) {
|
Bukkit.getScheduler().scheduleSyncDelayedTask(mcMMO.p, () -> {
|
||||||
movedBlock = block.getRelative(direction);
|
for (final Block block : event.getBlocks()) {
|
||||||
|
final Block movedBlock = block.getRelative(direction);
|
||||||
|
|
||||||
if(BlockUtils.isWithinWorldBounds(movedBlock)) {
|
if(BlockUtils.isWithinWorldBounds(movedBlock)) {
|
||||||
BlockUtils.setUnnaturalBlock(block);
|
BlockUtils.setUnnaturalBlock(movedBlock);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user