mirror of
https://github.com/songoda/SongodaCore.git
synced 2025-03-02 10:21:05 +01:00
Merge branch 'development'
This commit is contained in:
commit
60e013bd96
@ -4,7 +4,7 @@ stages:
|
|||||||
variables:
|
variables:
|
||||||
name: "SongodaCore"
|
name: "SongodaCore"
|
||||||
path: "/builds/$CI_PROJECT_PATH"
|
path: "/builds/$CI_PROJECT_PATH"
|
||||||
version: "2.3.45"
|
version: "2.3.46"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
|
@ -30,7 +30,7 @@ public enum CompatibleMaterial {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* 1.16 */
|
/* 1.16 */
|
||||||
ANCIENT_DEBRIES(),
|
ANCIENT_DEBRIS(),
|
||||||
BASALT(),
|
BASALT(),
|
||||||
BLACKSTONE(),
|
BLACKSTONE(),
|
||||||
BLACKSTONE_STAIRS(),
|
BLACKSTONE_STAIRS(),
|
||||||
@ -1359,7 +1359,7 @@ public enum CompatibleMaterial {
|
|||||||
if(block != null) {
|
if(block != null) {
|
||||||
if (block.getData() != 0) {
|
if (block.getData() != 0) {
|
||||||
for (CompatibleMaterial cm : CompatibleMaterial.values()) {
|
for (CompatibleMaterial cm : CompatibleMaterial.values()) {
|
||||||
if (cm.getMaterial().equals(block.getType())) {
|
if (cm.isValidItem() && !cm.usesCompatibility() && cm.getMaterial() != null && cm.getMaterial().equals(block.getType())) {
|
||||||
if (cm.getData() == block.getData()) {
|
if (cm.getData() == block.getData()) {
|
||||||
return cm;
|
return cm;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user