Commit 3e6fc05e authored by Amosar's avatar Amosar

Update version number and a mistake

Signed-off-by: Amosar's avatarAmosar <maxi.cass11@gmail.com>
parent 34cbd608
name: antiRedstoneClock
version: 0.9
version: 0.9.1
description: Limit the redstoneClock
author: Amosar
website: https://www.spigotmc.org/resources/antiredstoneclock.18557
......
......@@ -34,7 +34,7 @@ public class ComparatorListener implements Listener{
if(redstoneClock.getLastStatus() != status){
if(status == 0) {
if (!redstoneClock.isEnd()) {
if (redstoneClock.getClock() >= Main.getMaximumPulses() * 4) {
if (redstoneClock.getClock() >= Main.getMaximumPulses()) {
Util.removeRedstoneClock(e);
} else {
redstoneClock.addOneToClock();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment