Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 18:40:05 +01:00
Fixed checkstyle test for the Sponge platform
Dieser Commit ist enthalten in:
Ursprung
04cf831a33
Commit
a91d881d73
@ -41,12 +41,6 @@
|
|||||||
<allow pkg="net.minecraft.server"/>
|
<allow pkg="net.minecraft.server"/>
|
||||||
</subpackage>
|
</subpackage>
|
||||||
|
|
||||||
<subpackage name="spout">
|
|
||||||
<allow pkg="org.spout"/>
|
|
||||||
<allow pkg="org.jboss.netty"/>
|
|
||||||
<allow pkg="org.apache"/>
|
|
||||||
</subpackage>
|
|
||||||
|
|
||||||
<subpackage name="forge">
|
<subpackage name="forge">
|
||||||
<allow pkg="cpw"/>
|
<allow pkg="cpw"/>
|
||||||
<allow pkg="net.minecraft"/>
|
<allow pkg="net.minecraft"/>
|
||||||
@ -57,5 +51,12 @@
|
|||||||
<allow pkg="io.netty.buffer"/>
|
<allow pkg="io.netty.buffer"/>
|
||||||
<allow pkg="org.spongepowered.api" />
|
<allow pkg="org.spongepowered.api" />
|
||||||
</subpackage>
|
</subpackage>
|
||||||
|
|
||||||
|
<subpackage name="sponge">
|
||||||
|
<allow pkg="net.minecraft"/>
|
||||||
|
<allow pkg="com.google.inject" />
|
||||||
|
<allow pkg="com.flowpowered.math" />
|
||||||
|
<allow pkg="org.spongepowered.api" />
|
||||||
|
</subpackage>
|
||||||
</subpackage>
|
</subpackage>
|
||||||
</import-control>
|
</import-control>
|
||||||
|
@ -42,15 +42,15 @@ final class IDHelper {
|
|||||||
return ((BiomeGenBase) type).biomeID;
|
return ((BiomeGenBase) type).biomeID;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ItemType resolveItem(int ID) {
|
public static ItemType resolveItem(int intID) {
|
||||||
return (ItemType) Item.getItemById(ID);
|
return (ItemType) Item.getItemById(intID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static BlockType resolveBlock(int ID) {
|
public static BlockType resolveBlock(int intID) {
|
||||||
return (BlockType) Block.getBlockById(ID);
|
return (BlockType) Block.getBlockById(intID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static BiomeType resolveBiome(int ID) {
|
public static BiomeType resolveBiome(int intID) {
|
||||||
return (BiomeType) BiomeGenBase.getBiome(ID);
|
return (BiomeType) BiomeGenBase.getBiome(intID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren