mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-19 03:59:15 +00:00
Clean up warnings and packages
This commit is contained in:
1 parent
d83704c87c
commit
6156da7e35
20 files changed
+89
-113
No files matched your search
@@ -2,7 +2,7 @@ package com.cricketcraft.chisel.carving;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
||||
public class CarvingVariation implements Comparable {
|
||||
public class CarvingVariation implements Comparable<CarvingVariation> {
|
||||
|
||||
public CarvingVariation(Block block, int metadata, int ord) {
|
||||
this.order = ord;
|
||||
@@ -12,8 +12,8 @@ public class CarvingVariation implements Comparable {
|
||||
}
|
||||
|
||||
@Override
|
||||
public int compareTo(Object a) {
|
||||
return order - ((CarvingVariation) a).order;
|
||||
public int compareTo(CarvingVariation a) {
|
||||
return order - a.order;
|
||||
}
|
||||
|
||||
public int order;
|
||||
|
||||
Reference in new issue
Block a user