Fixed pathetic oversight in EaglerXBungee skin DL ratelimits
This commit is contained in:
1 parent
8c67503984
commit
1fa34b5480
4 files changed
+5
-2
No files matched your search
Binary file not shown.
+3
@@ -30,6 +30,9 @@ public class SimpleRateLimiter {
|
|||||||
if(decr > 0) {
|
if(decr > 0) {
|
||||||
timer += decr * t;
|
timer += decr * t;
|
||||||
count -= decr;
|
count -= decr;
|
||||||
|
if(count < 0) {
|
||||||
|
count = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(count >= maxPerMinute) {
|
if(count >= maxPerMinute) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: EaglercraftXBungee
|
name: EaglercraftXBungee
|
||||||
main: net.lax1dude.eaglercraft.v1_8.plugin.gateway_bungeecord.EaglerXBungee
|
main: net.lax1dude.eaglercraft.v1_8.plugin.gateway_bungeecord.EaglerXBungee
|
||||||
version: 1.0.2
|
version: 1.0.3
|
||||||
description: Plugin to allow EaglercraftX 1.8 players to join your network, or allow EaglercraftX 1.8 players to use your network as a proxy to join other networks
|
description: Plugin to allow EaglercraftX 1.8 players to join your network, or allow EaglercraftX 1.8 players to use your network as a proxy to join other networks
|
||||||
author: lax1dude
|
author: lax1dude
|
||||||
+1
-1
@@ -1 +1 @@
|
|||||||
1.0.2
|
1.0.3
|
||||||
Reference in new issue
Block a user