From 59f89980a32f2a13dbd20fab1701cf879ba6940d Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Wed, 17 Apr 2019 13:13:56 +1000 Subject: [PATCH] Don't need ratio out of 100 anymore --- .../plotsquared/plot/util/LegacyConverter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/util/LegacyConverter.java b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/util/LegacyConverter.java index f904249dd..262df3f83 100644 --- a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/util/LegacyConverter.java +++ b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/util/LegacyConverter.java @@ -65,9 +65,8 @@ import java.util.Map; } final BlockBucket bucket = new BlockBucket(); if (includeRatios) { - final double ratio = 100D / blocks.length; for (final Map.Entry count : counts.entrySet()) { - bucket.addBlock(count.getKey(), (int) (count.getValue() * ratio)); + bucket.addBlock(count.getKey(), (int) (count.getValue())); } } else { counts.keySet().forEach(bucket::addBlock);