mark off unnecessary iface

This commit is contained in:
gnembon committed 2021-04-10 02:19:24 -03:00
1 parent ba38080208
commit 37a6913e72
2 files changed
+3 -4

No files matched your search

@@ -6,7 +6,7 @@ import org.spongepowered.asm.mixin.gen.Accessor;
@Mixin(WeightedPicker.Entry.class)
public interface WeightedPickerEntryMixin
{
{/* /// not needed in 1.17
@Accessor("weight")
int getWeight();
int getWeight();*/
}
@@ -1,7 +1,6 @@
package carpet.utils;
import carpet.mixins.WeightedPickerEntryMixin;
import it.unimi.dsi.fastutil.objects.Object2IntMap;
import it.unimi.dsi.fastutil.objects.Object2LongMap;
import it.unimi.dsi.fastutil.objects.Object2LongOpenHashMap;
@@ -520,7 +519,7 @@ public class SpawnReporter
String creature_name = mob.getType().getName().getString();
String pack_size = String.format("%d", mob.getLimitPerChunk());//String.format("%d-%d", animal.minGroupCount, animal.maxGroupCount);
int weight = ((WeightedPickerEntryMixin) spawnEntry).getWeight();
int weight = spawnEntry.getWeight().getValue();// ((WeightedPickerEntryMixin) spawnEntry).getWeight();
if (canspawn)
{
String c = (fits_true && will_spawn>0)?"e":"gi";