This commit is contained in:
nossr50 2021-07-01 21:02:59 -07:00
parent fb94374e3c
commit b79d452a6d
3 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,5 @@
Version 2.1.200 Version 2.1.200
Fixed a major 1.17 exploit
Dodge will no longer trigger while blocking Dodge will no longer trigger while blocking
Action Bar messages can now be disabled (thanks TheBusyBiscuit) Action Bar messages can now be disabled (thanks TheBusyBiscuit)
mcMMO is better at MC version parsing now (thanks stepech & TheBusyBiscuit) mcMMO is better at MC version parsing now (thanks stepech & TheBusyBiscuit)

View File

@ -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.200-SNAPSHOT</version> <version>2.1.200</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>

View File

@ -250,9 +250,11 @@ public class EntityListener implements Listener {
else if (isTracked) { else if (isTracked) {
mcMMO.getPlaceStore().setTrue(block); mcMMO.getPlaceStore().setTrue(block);
} }
} else if ((block.getType() == Material.REDSTONE_ORE)) { } else if ((block.getType() == Material.REDSTONE_ORE || block.getType().getKey().getKey().equalsIgnoreCase("deepslate_redstone_ore"))) {
//Redstone ore fire this event and should be ignored
} }
else { else {
if (mcMMO.getPlaceStore().isTrue(block)) { if (mcMMO.getPlaceStore().isTrue(block)) {
mcMMO.getPlaceStore().setFalse(block); mcMMO.getPlaceStore().setFalse(block);
} }