mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-20 04:19:50 +00:00
Add group removal support. Add player argument to canChiselBlock
This commit is contained in:
1 parent
2321c2e636
commit
8467b1cbb8
6 files changed
+29
-7
No files matched your search
@@ -119,6 +119,12 @@ public class Carving implements ICarvingRegistry {
|
||||
return groups.getGroupByName(name);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ICarvingGroup removeGroup(String groupName) {
|
||||
ICarvingGroup g = groups.getGroupByName(groupName);
|
||||
return groups.remove(g) ? g : null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addVariation(String groupName, Block block, int metadata, int order) {
|
||||
if (block == null) {
|
||||
|
||||
Reference in new issue
Block a user