mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-06 04:46:40 +00:00
Use Material rather than legacy int/data when specifying block break effect type (#1829)
This commit is contained in:
@ -132,6 +132,13 @@ public class WorldWrapper extends AbstractWorld {
|
||||
return parent.playEffect(position, type, data);
|
||||
}
|
||||
|
||||
//FAWE start - allow block break effect of non-legacy blocks
|
||||
@Override
|
||||
public boolean playBlockBreakEffect(Vector3 position, BlockType type) {
|
||||
return parent.playBlockBreakEffect(position, type);
|
||||
}
|
||||
//FAWE end
|
||||
|
||||
@Override
|
||||
public boolean queueBlockBreakEffect(Platform server, BlockVector3 position, BlockType blockType, double priority) {
|
||||
return parent.queueBlockBreakEffect(server, position, blockType, priority);
|
||||
|
Reference in New Issue
Block a user